函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-27 09:06:25 |
| Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:generic_get_mtrr
函数原型:static void generic_get_mtrr(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 |
| 590 | get_cpu() |
| 594 | 如果mask_lo按位与0x800的值恒等于0则 |
| 605 | tmp等于mask_hi左移32减PAGE_SHIFT determines the page size 位按位或mask_lo右移PAGE_SHIFT determines the page size 位 |
| 606 | mask等于size_or_mask按位或tmp |
| 610 | 如果hi大于0则 |
| 614 | 打印警告信息("mtrr: your BIOS has configured an incorrect mask, fixing it.\n") |
| 625 | base等于base_hi左移32减PAGE_SHIFT determines the page size 位按位或base_lo右移PAGE_SHIFT determines the page size 位 |
| 628 | out_put_cpu : |
| 629 | put_cpu() |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |