Function report |
Source Code:arch\x86\kernel\cpu\microcode\amd.c |
Create Date:2022-07-28 08:08:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static bool verify_container(const u8 *buf, size_t buf_size, bool early)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const u8 * | buf | |
size_t | buf_size | |
bool | early |
93 | If buf_size <= CONTAINER_HDR_SZ Then |
100 | cont_magic = buf |
101 | If cont_magic != UCODE_MAGIC Then |
102 | If Not early Then pr_debug("Invalid magic value (0x%08x).\n", cont_magic) |
105 | Return false |
108 | Return true |
Name | Describe |
---|---|
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: |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |