函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-27 08:54:09 |
Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:amd_cpuid4
函数原型:static void amd_cpuid4(int leaf, union _cpuid4_leaf_eax *eax, union _cpuid4_leaf_ebx *ebx, union _cpuid4_leaf_ecx *ecx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | leaf | |
union _cpuid4_leaf_eax * | eax | |
union _cpuid4_leaf_ebx * | ebx | |
union _cpuid4_leaf_ecx * | ecx |
241 | full等于0 |
242 | full等于0 |
243 | full等于0 |
261 | 如果非val则返回 |
267 | size_in_kb等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.( KB - valid for CPUS which support this call: ) |
268 | 退出 |
270 | 如果非val则返回 |
275 | size_in_kb等于size_encoded乘512 |
276 | 如果boot_cpu_has(AMD multi-node processor )则 |
277 | size_in_kb等于size_in_kb右移1位 |
280 | 退出 |
281 | 默认 |
282 | 返回 |
285 | is_self_initializing等于1 |
288 | num_threads_sharing等于0 |
289 | num_cores_on_die等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cpuid returned max cores value: )减1 |
292 | 如果assoc恒等于0xffff则is_fully_associative等于1 |
294 | coherency_line_size等于line_size减1 |
295 | ways_of_associativity等于assoc减1 |
297 | number_of_sets等于size_in_kb乘1024除line_size除ways_of_associativity加1的和减1 |
名称 | 描述 |
---|---|
cpuid4_cache_lookup_regs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |