diff options
author | nyan <nyan@FreeBSD.org> | 2006-11-09 08:03:37 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2006-11-09 08:03:37 +0000 |
commit | 091e2b76f9654ef34df7169346faa2d1cff0f0cb (patch) | |
tree | 16f1d5f3bf3df3575f95c4d3fef423a1b3c4c235 | |
parent | e6cf955ad4f3c344435f4523de9215f577f8c646 (diff) | |
download | FreeBSD-src-091e2b76f9654ef34df7169346faa2d1cff0f0cb.zip FreeBSD-src-091e2b76f9654ef34df7169346faa2d1cff0f0cb.tar.gz |
MFi386: revisions 1.634 and 1.639.
-rw-r--r-- | sys/pc98/pc98/machdep.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index fd61727..6e0b873 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -186,8 +186,10 @@ static void freebsd4_sendsig(sig_t catcher, ksiginfo_t *, sigset_t *mask); long Maxmem = 0; long realmem = 0; -vm_paddr_t phys_avail[10]; -vm_paddr_t dump_avail[10]; +#define PHYSMAP_SIZE (2 * 16) + +vm_paddr_t phys_avail[PHYSMAP_SIZE + 2]; +vm_paddr_t dump_avail[PHYSMAP_SIZE + 2]; /* must be 2 less so 0 0 can signal end of chunks */ #define PHYS_AVAIL_ARRAY_END ((sizeof(phys_avail) / sizeof(phys_avail[0])) - 2) @@ -1542,8 +1544,6 @@ setidt(idx, func, typ, dpl, selec) ip->gd_hioffset = ((int)func)>>16 ; } -#define IDTVEC(name) __CONCAT(X,name) - extern inthand_t IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl), IDTVEC(bnd), IDTVEC(ill), IDTVEC(dna), IDTVEC(fpusegm), @@ -1589,8 +1589,6 @@ sdtossd(sd, ssd) ssd->ssd_gran = sd->sd_gran; } -#define PHYSMAP_SIZE (2 * 8) - /* * Populate the (physmap) array with base/bound pairs describing the * available physical memory in the system, then test this memory and |