diff options
author | jhb <jhb@FreeBSD.org> | 2004-06-10 20:31:00 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-06-10 20:31:00 +0000 |
commit | f7c8770debc1cb4e4c0aa95cd3a49dbf7072d704 (patch) | |
tree | 64c289342d49b723657e06e2e9f7474c95c59775 /sys/amd64/include/pc | |
parent | 30a30620eea7f0af192d7e3c5dbf11e77ae4a6cc (diff) | |
download | FreeBSD-src-f7c8770debc1cb4e4c0aa95cd3a49dbf7072d704.zip FreeBSD-src-f7c8770debc1cb4e4c0aa95cd3a49dbf7072d704.tar.gz |
Remove atdevbase and replace it's remaining uses with direct references to
KERNBASE instead.
Diffstat (limited to 'sys/amd64/include/pc')
-rw-r--r-- | sys/amd64/include/pc/bios.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/pc/bios.h b/sys/amd64/include/pc/bios.h index 32b6a52..b8d3991 100644 --- a/sys/amd64/include/pc/bios.h +++ b/sys/amd64/include/pc/bios.h @@ -64,8 +64,8 @@ extern int bios32_SDlookup(struct bios32_SDentry *ent); extern u_int32_t bios_sigsearch(u_int32_t start, u_char *sig, int siglen, int paralen, int sigofs); -#define BIOS_PADDRTOVADDR(x) (((x) - ISA_HOLE_START) + atdevbase) -#define BIOS_VADDRTOPADDR(x) (((x) - atdevbase) + ISA_HOLE_START) +#define BIOS_PADDRTOVADDR(x) ((x) + KERNBASE) +#define BIOS_VADDRTOPADDR(x) ((x) - KERNBASE) /* |