函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\cyrix.c |
Create Date:2022-07-27 09:07:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cyrix_get_arr
函数原型:static void cyrix_get_arr(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 |
20 | arr等于CX86_ARR_BASE加reg左移1位的值加reg |
22 | local_irq_save(flags) |
24 | ccr3等于NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value) |
29 | rcr等于NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value) |
34 | shift = ) & 0x0f |
43 | 否则size等于0 |
47 | 如果reg小于7则 |
63 | 否则 |
名称 | 描述 |
---|---|
cyrix_get_free_region | yrix_get_free_region - get a free ARR.*@base: the starting (base) address of the region.*@size: the size (in bytes) of the region.* Returns: the index of the region on success, else -1 on error. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |