函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-27 09:01:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add per CPU specific workarounds here
函数原型:static int __mcheck_cpu_apply_quirks(struct cpuinfo_x86 *c)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
1640 | mce_banks等于this_cpu_ptr(mce_banks_array) |
1643 | 如果CPU vendor 恒等于X86_VENDOR_UNKNOWN则 |
1644 | 打印信息("unknown CPU type - not enabling MCE support\n") |
1645 | 返回:负EOPNOTSUPP |
1649 | 如果CPU vendor 恒等于X86_VENDOR_AMD则 |
1658 | 如果CPU family 小于0x11且bootlog小于0则 |
1663 | bootlog等于0 |
1676 | 如果CPU family 恒等于0x15且x86_model小于等于0xf则* Indicates that overflow conditions are not fatal, when set.等于1 |
1681 | 如果CPU vendor 恒等于X86_VENDOR_INTEL则 |
1698 | 如果CPU family 大于6或CPU family 恒等于6且x86_model大于等于0xe的值且monarch_timeout小于0则monarch_timeout等于USEC_PER_SEC |
1706 | 如果CPU family 恒等于6且x86_model小于等于13且bootlog小于0则bootlog等于0 |
1713 | 如果CPU vendor 恒等于X86_VENDOR_ZHAOXIN则 |
1718 | 如果CPU family 大于6或x86_model恒等于0x19或x86_model恒等于0x1f则 |
1719 | 如果monarch_timeout小于0则monarch_timeout等于USEC_PER_SEC |
1724 | 如果monarch_timeout小于0则monarch_timeout等于0 |
1726 | 如果bootlog不等于0则panic_timeout等于30 |
1729 | 返回:0 |
名称 | 描述 |
---|---|
mcheck_cpu_init | Called for each booted CPU to set up machine checks.* Must be called with preempt off: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |