Function report |
Source Code:arch\x86\kernel\mpparse.c |
Create Date:2022-07-28 08:25:42 |
Last Modify:2020-03-16 21:44:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Read/parse the MPC
Proto:static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mpc_table * | mpc | |
char * | oem | |
char * | str |
154 | If memcmp(signature, MPC_SIGNATURE, 4) Then |
155 | pr_err("MPTABLE: bad signature [%c%c%c%c]!\n", signature[0], signature[1], signature[2], signature[3]) |
158 | Return 0 |
160 | If Checksum an MP configuration block. Then |
161 | pr_err("MPTABLE: checksum error!\n") |
162 | Return 0 |
168 | If Not APIC address Then |
169 | pr_err("MPTABLE: null local APIC address!\n") |
170 | Return 0 |
173 | oem[8] = 0 |
177 | str[12] = 0 |
181 | pr_info("MPTABLE: APIC at: 0x%X\n", APIC address ) |
183 | Return 1 |
Name | Describe |
---|---|
smp_read_mpc | |
update_mp_table |
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 |