diff options
author | kato <kato@FreeBSD.org> | 1998-10-08 16:15:22 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-10-08 16:15:22 +0000 |
commit | 29d7df02f8728dd4394f77fcda079f89eee96912 (patch) | |
tree | 1b39339f19c183e6e3d2948c5975220522c58dc4 /sys/amd64 | |
parent | d0066a99a0a7a161686212aec1cdd9698662101a (diff) | |
download | FreeBSD-src-29d7df02f8728dd4394f77fcda079f89eee96912.zip FreeBSD-src-29d7df02f8728dd4394f77fcda079f89eee96912.tar.gz |
BIOS ROM base address is 0xe8000 on PC-98.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 7 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 7 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index e00c2f4..aa31930 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.79 1998/08/24 02:28:15 bde Exp $ + * $Id: mp_machdep.c,v 1.80 1998/09/06 22:41:40 tegge Exp $ */ #include "opt_smp.h" @@ -87,8 +87,13 @@ #define WARMBOOT_OFF (KERNBASE + 0x0467) #define WARMBOOT_SEG (KERNBASE + 0x0469) +#ifdef PC98 +#define BIOS_BASE (0xe8000) +#define BIOS_SIZE (0x18000) +#else #define BIOS_BASE (0xf0000) #define BIOS_SIZE (0x10000) +#endif #define BIOS_COUNT (BIOS_SIZE/4) #define CMOS_REG (0x70) diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index e00c2f4..aa31930 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.79 1998/08/24 02:28:15 bde Exp $ + * $Id: mp_machdep.c,v 1.80 1998/09/06 22:41:40 tegge Exp $ */ #include "opt_smp.h" @@ -87,8 +87,13 @@ #define WARMBOOT_OFF (KERNBASE + 0x0467) #define WARMBOOT_SEG (KERNBASE + 0x0469) +#ifdef PC98 +#define BIOS_BASE (0xe8000) +#define BIOS_SIZE (0x18000) +#else #define BIOS_BASE (0xf0000) #define BIOS_SIZE (0x10000) +#endif #define BIOS_COUNT (BIOS_SIZE/4) #define CMOS_REG (0x70) diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index e00c2f4..aa31930 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.79 1998/08/24 02:28:15 bde Exp $ + * $Id: mp_machdep.c,v 1.80 1998/09/06 22:41:40 tegge Exp $ */ #include "opt_smp.h" @@ -87,8 +87,13 @@ #define WARMBOOT_OFF (KERNBASE + 0x0467) #define WARMBOOT_SEG (KERNBASE + 0x0469) +#ifdef PC98 +#define BIOS_BASE (0xe8000) +#define BIOS_SIZE (0x18000) +#else #define BIOS_BASE (0xf0000) #define BIOS_SIZE (0x10000) +#endif #define BIOS_COUNT (BIOS_SIZE/4) #define CMOS_REG (0x70) |