summaryrefslogtreecommitdiff
path: root/src/include/cpu/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/cpu.h')
-rw-r--r--src/include/cpu/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index 60940f07d1..9a283735d3 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -5,6 +5,10 @@
#if !defined(__ROMCC__)
void cpu_initialize(unsigned int cpu_index);
+/* Returns default APIC id based on logical_cpu number or < 0 on failure. */
+int cpu_get_apic_id(int logical_cpu);
+/* Function to keep track of cpu default apic_id */
+void cpu_add_map_entry(unsigned int index);
struct bus;
void initialize_cpus(struct bus *cpu_bus);
asmlinkage void secondary_cpu_init(unsigned int cpu_index);