函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\microcode\amd.c |
Create Date:2022-07-27 09:09:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check whether there is a valid microcode container file at the beginning* of @buf of size @buf_size. Set @early to use this function in the early path.
函数原型:static bool verify_container(const u8 *buf, size_t buf_size, bool early)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | buf | |
size_t | buf_size | |
bool | early |
93 | 如果buf_size小于等于CONTAINER_HDR_SZ则 |
100 | cont_magic等于buf |
101 | 如果cont_magic不等于UCODE_MAGIC则 |
102 | 如果非early则pr_debug("Invalid magic value (0x%08x).\n", cont_magic) |
105 | 返回:false |
108 | 返回:true |
名称 | 描述 |
---|---|
verify_equivalence_table | Check whether there is a valid, non-truncated CPU equivalence table at the* beginning of @buf of size @buf_size. Set @early to use this function in the* early path. |
request_microcode_amd | AMD microcode firmware naming convention, up to family 15h they are in* the legacy file:* amd-ucode/microcode_amd.bin* This legacy file is always smaller than 2K in size.* Beginning with family 15h, they are in family-specific firmware files: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |