aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2002-03-03 19:23:15 +0000
committerDoug Rabson <dfr@FreeBSD.org>2002-03-03 19:23:15 +0000
commit08cece4091e66d168fbcb9da64de0a98f7c940b7 (patch)
tree2c323c7946f625e8d294deec7d4204f40f867074 /sys
parent0f0e725b18e0cf0b6889cfed1a328dbc7e8c113a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/machdep.c27
1 files changed, 15 insertions, 12 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 580714f0dae7..35b3f376857e 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -75,6 +75,7 @@
#include <machine/elf.h>
#include <ddb/ddb.h>
#include <sys/vnode.h>
+#include <sys/ucontext.h>
#include <machine/sigframe.h>
#include <machine/efi.h>
#include <machine/inst.h>
@@ -239,11 +240,13 @@ cpu_startup(dummy)
bufinit();
vm_pager_bufferinit();
+#ifndef SKI
/*
* Traverse the MADT to discover IOSAPIC and Local SAPIC
* information.
*/
ia64_probe_sapics();
+#endif
}
void
@@ -451,17 +454,6 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
KASSERT(ia64_port_base != 0,
(__func__ ": no I/O memory region"));
- if (ia64_pal_base != 0) {
- ia64_pal_base &= ~((1 << 28) - 1);
- /*
- * We use a TR to map the first 256M of memory - this might
- * cover the palcode too.
- */
- if (ia64_pal_base == 0)
- printf("PAL code mapped by the kernel's TR\n");
- } else
- printf("PAL code not found\n");
-
/*
* Look at arguments passed to us and compute boothowto.
*/
@@ -486,9 +478,20 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
* Initialize the console before we print anything out.
*/
cninit();
-
+
/* OUTPUT NOW ALLOWED */
+ if (ia64_pal_base != 0) {
+ ia64_pal_base &= ~((1 << 28) - 1);
+ /*
+ * We use a TR to map the first 256M of memory - this might
+ * cover the palcode too.
+ */
+ if (ia64_pal_base == 0)
+ printf("PAL code mapped by the kernel's TR\n");
+ } else
+ printf("PAL code not found\n");
+
/*
* Wire things up so we can call the firmware.
*/