diff options
author | marcel <marcel@FreeBSD.org> | 2002-05-19 04:42:19 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-05-19 04:42:19 +0000 |
commit | 768ae8ea9a50721cc32f333ab616d292a9f546ae (patch) | |
tree | 75f802a17493a7feda489841feeaba7eec5a3397 /sys/boot/efi | |
parent | 1d9bed166c9114d035925645959f30f03030bc21 (diff) | |
download | FreeBSD-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/efi')
-rw-r--r-- | sys/boot/efi/libefi/copy.c | 1 | ||||
-rw-r--r-- | sys/boot/efi/libefi/elf_freebsd.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/copy.c b/sys/boot/efi/libefi/copy.c index a2bb6fe..be1fcef 100644 --- a/sys/boot/efi/libefi/copy.c +++ b/sys/boot/efi/libefi/copy.c @@ -37,6 +37,7 @@ static const char rcsid[] = #include <efi.h> #include <efilib.h> #include <machine/ia64_cpu.h> +#include <machine/vmparam.h> int efi_copyin(void *src, vm_offset_t dest, size_t len) diff --git a/sys/boot/efi/libefi/elf_freebsd.c b/sys/boot/efi/libefi/elf_freebsd.c index c98f93c..5c95d0f 100644 --- a/sys/boot/efi/libefi/elf_freebsd.c +++ b/sys/boot/efi/libefi/elf_freebsd.c @@ -83,7 +83,9 @@ #include <sys/linker.h> #include <machine/elf.h> #include <machine/bootinfo.h> +#include <machine/ia64_cpu.h> #include <machine/pte.h> +#include <machine/vmparam.h> #include <efi.h> #include <efilib.h> |