summaryrefslogtreecommitdiff
path: root/arch/x86/machine/cpu.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-01-13 23:13:01 +0100
committerRichard Braun <rbraun@sceen.net>2014-01-14 01:35:17 +0100
commit9d998f839452b005401b00c76fd8d03ca062e096 (patch)
tree6537e14ac3a031ac23ca909079003fd07f31abba /arch/x86/machine/cpu.h
parentcbca7bb4f1f59aee176aeb79a69fafd51e17b267 (diff)
Rework bootstrapping
Start application processors once the kernel is completely initialized, right before starting the scheduler. This simplifies the procedure with regard to inter-processor pmap updates.
Diffstat (limited to 'arch/x86/machine/cpu.h')
-rw-r--r--arch/x86/machine/cpu.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/x86/machine/cpu.h b/arch/x86/machine/cpu.h
index 3c13911b..0147c357 100644
--- a/arch/x86/machine/cpu.h
+++ b/arch/x86/machine/cpu.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012, 2013 Richard Braun.
+ * Copyright (c) 2010-2014 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -603,12 +603,12 @@ void cpu_mp_register_lapic(unsigned int apic_id, int is_bsp);
*
* On return, cpu_count() gives the actual number of managed processors.
*/
-void cpu_mp_setup(void);
+void cpu_mp_probe(void);
/*
- * Synchronize with APs on kernel entry.
+ * Start application processors.
*/
-void cpu_mp_sync(void);
+void cpu_mp_setup(void);
/*
* CPU initialization on APs.
@@ -616,11 +616,6 @@ void cpu_mp_sync(void);
void cpu_ap_setup(void);
/*
- * Synchronize with BSP on kernel entry.
- */
-void cpu_ap_sync(void);
-
-/*
* Send a scheduling interrupt to a remote processor.
*/
static inline void