diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-14 02:14:31 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-04-06 15:13:28 +0000 |
commit | 21ca7753bf619f1de8dca79fd1113a9c22335f11 (patch) | |
tree | 315d6c1a39c585878c96ec018529d42c1280178b /src/include/cpu | |
parent | 95f84c3aae04eaeeb59ce00a1e7cd6fd5ca0c0f8 (diff) |
cpu/x86/mp_init.c: Keep track of initial lapic ID inside device_path
It's quite confusing to keep track of lapic ID inside the device
struct and initial lapic ID inside an array.
Change-Id: I4d9f8d23c0b0e5c142f6907593428d8509e4e7bb
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64342
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/cpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index a77cb33b4a..fc662eec9e 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -7,11 +7,7 @@ #include <stdint.h> void cpu_initialize(void); -/* Returns default APIC id based on logical_cpu number or < 0 on failure. */ -int cpu_get_apic_id(int logical_cpu); uintptr_t cpu_get_lapic_addr(void); -/* Function to keep track of cpu default apic_id */ -void cpu_add_map_entry(unsigned int index); struct bus; int cpu_phys_address_size(void); |