summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2024-02-09 02:11:14 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-09 08:33:09 +0100
commit10e70143fd451dc9855a562482ce9195f1d0d0bb (patch)
tree87e0e2dab7da579958cfcdeeab8cd73772012990 /i386
parentc3a8722c4a131734395a2893f92e092ba441a844 (diff)
smp: Fix compile error with missing apboot_addr
Message-ID: <20240209021108.1715770-1-damien@zamaudio.com>
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/model_dep.h5
-rw-r--r--i386/i386/mp_desc.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/i386/i386/model_dep.h b/i386/i386/model_dep.h
index 095eec9b..5369e288 100644
--- a/i386/i386/model_dep.h
+++ b/i386/i386/model_dep.h
@@ -29,6 +29,11 @@
#include <mach/std_types.h>
/*
+ * Address to hold AP boot code, held in ASM
+ */
+extern phys_addr_t apboot_addr;
+
+/*
* Find devices. The system is alive.
*/
extern void machine_init (void);
diff --git a/i386/i386/mp_desc.h b/i386/i386/mp_desc.h
index bcc68662..dc3a7dc8 100644
--- a/i386/i386/mp_desc.h
+++ b/i386/i386/mp_desc.h
@@ -77,11 +77,6 @@ extern uint8_t solid_intstack[];
extern int bspdone;
/*
- * Address to hold AP boot code, held in ASM
- */
-extern phys_addr_t apboot_addr;
-
-/*
* Each CPU calls this routine to set up its descriptor tables.
*/
extern int mp_desc_init(int);