函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c |
Create Date:2022-07-27 09:05:24 |
| Last Modify:2022-05-18 17:35:08 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mtrr_add - Add a memory type region*@base: Physical base address of region*@size: Physical size of region*@type: Type of MTRR desired*@increment: If this is true do usage counting on the region* Memory type region registers control the caching on newer
函数原型:int mtrr_add(unsigned long base, unsigned long size, unsigned int type, bool increment)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | base | |
| unsigned long | size | |
| unsigned int | type | |
| bool | increment |
| 456 | 如果非mtrr_enabled()则返回:负ENODEV |
| 458 | 如果mtrr_check(base, size)则返回:负EINVAL |
| 名称 | 描述 |
|---|---|
| arch_phys_wc_add | arch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailable*@base: Physical base address*@size: Size of region* If PAT is available, this does nothing |
| mtrr_ioctl |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |