函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-27 08:59:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bsp_init_hygon
函数原型:static void bsp_init_hygon(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
214 | 如果非rdmsrl_safe(MSR_K8_TSEG_ADDR, & tseg)则 |
218 | 如果pfn_range_is_mapped(pfn, pfn + 1)则set_memory_4k((unsignedlong)__va(tseg), 1) |
223 | 如果cpu_has(c, TSC ticks at a constant rate )则 |
226 | rdmsrl(MSR_K7_HWCR, val) |
227 | 如果非val按位与BIT(24)的值则打印警告信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"TSC doesn't count with P0 frequency!\n") |
239 | 否则如果boot_cpu_has(NodeId MSR )则 |
242 | rdmsrl(MSR_FAM10H_NODE_ID, value) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |