aboutsummaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-27 23:40:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-27 23:40:27 +0200
commita29229ff20b2e1199e52099328902ae45a5f6f0d (patch)
tree4bddbd2b041ee4123394be6396aeaa02ffbb4b61 /i386/intel
parent0d490ef21c156907f3f26a6cdc00842f462a877a (diff)
downloadgnumach-a29229ff20b2e1199e52099328902ae45a5f6f0d.tar.gz
gnumach-a29229ff20b2e1199e52099328902ae45a5f6f0d.tar.bz2
gnumach-a29229ff20b2e1199e52099328902ae45a5f6f0d.zip
Fix interrupt_processor prototype
* i386/i386/mp_desc.h [MULTIPROCESSOR] (interrupt_processor): Add prototype. * i386/intel/pmap.c [NCPUS > 1]: Include <i386/mp_desc.h>
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index c74717ae..69ab9cca 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -87,6 +87,10 @@
#include <i386at/biosmem.h>
#include <i386at/model_dep.h>
+#if NCPUS > 1
+#include <i386/mp_desc.h>
+#endif
+
#ifdef MACH_PSEUDO_PHYS
#define WRITE_PTE(pte_p, pte_entry) *(pte_p) = pte_entry?pa_to_ma(pte_entry):0;
#else /* MACH_PSEUDO_PHYS */