summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-09-24 01:11:11 +0000
committerpeter <peter@FreeBSD.org>2004-09-24 01:11:11 +0000
commit56d687195a132697394482f8e91a569bf1f6b5cd (patch)
tree32f4f0dc4eb1d3bd220f0555951084e7e388876d /sys/amd64
parent04c2ef219308602e8e16a468dd7b891268ef2e3b (diff)
downloadFreeBSD-src-56d687195a132697394482f8e91a569bf1f6b5cd.zip
FreeBSD-src-56d687195a132697394482f8e91a569bf1f6b5cd.tar.gz
Like on i386, use the definition of struct bios_smap from machine/pc/bios.h
again.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index c2bebe0..cd7af28 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -111,6 +111,7 @@ __FBSDID("$FreeBSD$");
#include <machine/specialreg.h>
#include <machine/intr_machdep.h>
#include <machine/md_var.h>
+#include <machine/pc/bios.h>
#include <machine/metadata.h>
#include <machine/proc.h>
#ifdef PERFMON
@@ -798,12 +799,6 @@ isa_irq_pending(void)
#define PHYSMAP_SIZE (2 * 8)
-struct bios_smap {
- u_int64_t base;
- u_int64_t length;
- u_int32_t type;
-} __packed;
-
u_int basemem;
/*
OpenPOWER on IntegriCloud