函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\microcode\amd.c |
Create Date:2022-07-27 09:09:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static bool verify_equivalence_table(const u8 *buf, size_t buf_size, bool early)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | buf | |
size_t | buf_size | |
bool | early |
125 | 如果cont_type不等于UCODE_EQUIV_CPU_TABLE_TYPE则 |
130 | 返回:false |
133 | buf_size减等于CONTAINER_HDR_SZ |
135 | equiv_tbl_len等于hdr[2] |
136 | 如果equiv_tbl_len小于sizeof(structequiv_cpu_entry)或buf_size小于equiv_tbl_len则 |
144 | 返回:true |
名称 | 描述 |
---|---|
parse_container | This scans the ucode blob for the proper container as we can have multiple* containers glued together. Returns the equivalence ID from the equivalence* table or 0 if none found.* Returns the amount of bytes consumed while scanning. @desc contains all the |
install_equiv_cpu_table |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |