| 函数逻辑报告 | 
| Source Code: arch\x86\kernel\cpu\mtrr\centaur.c | Create Date:2022-07-27 09:07:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:centaur_set_mcr
函数原型:static void centaur_set_mcr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | reg | |
| unsigned long | base | |
| unsigned long | size | |
| mtrr_type | type | 
| 79 | 如果size恒等于0则 | 
| 82 | 否则 | 
| 84 | 如果0 for winchip, 1 for winchip2 恒等于0则 | 
| 86 | low等于负size左移PAGE_SHIFT determines the page size 位按位或0x1f | 
| 87 | 否则 | 
| 88 | 如果type恒等于MTRR memory types, which are defined in SDM 则low等于负size左移PAGE_SHIFT determines the page size 位按位或0x02 | 
| 90 | 否则low等于负size左移PAGE_SHIFT determines the page size 位按位或0x09 | 
| 96 | wrmsr(MSR_IDT_MCR0 + reg, low, high) | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |