summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64/ski
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-19 04:42:19 +0000
committermarcel <marcel@FreeBSD.org>2002-05-19 04:42:19 +0000
commit768ae8ea9a50721cc32f333ab616d292a9f546ae (patch)
tree75f802a17493a7feda489841feeaba7eec5a3397 /sys/boot/ia64/ski
parent1d9bed166c9114d035925645959f30f03030bc21 (diff)
downloadFreeBSD-src-768ae8ea9a50721cc32f333ab616d292a9f546ae.zip
FreeBSD-src-768ae8ea9a50721cc32f333ab616d292a9f546ae.tar.gz
o Remove namespace pollution from param.h:
- Don't include ia64_cpu.h and cpu.h - Guard definitions by _NO_NAMESPACE_POLLUTION - Move definition of KERNBASE to vmparam.h o Move definitions of IA64_RR_{BASE|MASK} to vmparam.h o Move definitions of IA64_PHYS_TO_RR{6|7} to vmparam.h o While here, remove some left-over Alpha references.
Diffstat (limited to 'sys/boot/ia64/ski')
-rw-r--r--sys/boot/ia64/ski/copy.c1
-rw-r--r--sys/boot/ia64/ski/elf_freebsd.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ia64/ski/copy.c b/sys/boot/ia64/ski/copy.c
index 4445460..d5c0623 100644
--- a/sys/boot/ia64/ski/copy.c
+++ b/sys/boot/ia64/ski/copy.c
@@ -37,6 +37,7 @@ static const char rcsid[] =
#include <stand.h>
#include <machine/ia64_cpu.h>
+#include <machine/vmparam.h>
int
ski_copyin(void *src, vm_offset_t dest, size_t len)
diff --git a/sys/boot/ia64/ski/elf_freebsd.c b/sys/boot/ia64/ski/elf_freebsd.c
index 6465d8a..461ef12 100644
--- a/sys/boot/ia64/ski/elf_freebsd.c
+++ b/sys/boot/ia64/ski/elf_freebsd.c
@@ -83,6 +83,8 @@
#include <sys/linker.h>
#include <machine/elf.h>
#include <machine/bootinfo.h>
+#include <machine/ia64_cpu.h>
+#include <machine/vmparam.h>
#include "bootstrap.h"
#include "libski.h"
OpenPOWER on IntegriCloud