Function report | 
Source Code:arch\x86\kernel\cpu\microcode\amd.c | 
Create Date:2022-07-28 08:09:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:install_equiv_cpu_table
Proto:static size_t install_equiv_cpu_table(const u8 *buf, size_t buf_size)
Type:size_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const u8 * | buf | |
| size_t | buf_size | 
| 724 | If Not 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. Then Return 0 | 
| 728 | equiv_tbl_len = hdr[2] | 
| 730 | entry = vmalloc(equiv_tbl_len) | 
| 731 | If Not entry Then | 
| 732 | pr_err("failed to allocate equivalent CPU table\n") | 
| 733 | Return 0 | 
| 736 | memcpy(entry, buf + CONTAINER_HDR_SZ, equiv_tbl_len) | 
| 737 | num_entries = equiv_tbl_len / sizeof(structequiv_cpu_entry) | 
| 740 | Return equiv_tbl_len + CONTAINER_HDR_SZ | 
| Name | Describe | 
|---|---|
| __load_microcode_amd | 
| 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  |