函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-27 08:54:11 |
| Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cpuid4_cache_lookup_regs
函数原型:static int cpuid4_cache_lookup_regs(int index, struct _cpuid4_info_regs *this_leaf)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | index | |
| struct _cpuid4_info_regs * | this_leaf |
| 600 | 如果CPU vendor 恒等于X86_VENDOR_AMD则 |
| 601 | 如果boot_cpu_has(Topology extensions CPUID leafs )则cpuid_count(0x8000001d, index, & full, & full, & full, & edx) |
| 604 | 否则amd_cpuid4(index, & eax, & ebx, & ecx) |
| 607 | 否则如果CPU vendor 恒等于X86_VENDOR_HYGON则 |
| 611 | 否则 |
| 615 | 如果type恒等于CTYPE_NULL则返回:负EIO |
| 621 | size等于number_of_sets加1的和乘coherency_line_size加1的和乘physical_line_partition加1的和乘ways_of_associativity加1的和 |
| 625 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |