Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 1998 11:22:16 +0200
From:      Johan Karlsson <k@numeri.campus.luth.se>
To:        "Babkin, Serge" <sbabkin@dcn.att.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Special memory board on ISA bus 
Message-ID:  <199807190922.LAA03909@numeri.campus.luth.se>
In-Reply-To: Your message of "Thu, 16 Jul 1998 12:17:11 EDT." <C50B6FBA632FD111AF0F0000C0AD71EEFF8B66@dcn71.dcn.att.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> > I have a special memory board on the ISA bus that responds to
> > addresses from 
> > BOARD_BASE up to BOARD_BASE+BOARD_MASK. 
> > 
> Is it mapped in ISA hole under 1M or over it ?

Currently BOARD_BASE is 8MB and BOARD_MASK is 512kB
However I need to be able to make the BOARD_MASK alot more, say at least 4MB.
Hence, the BIOS configured hole is too small.

> You can add it to machdep.c,
> to the memory size probe routine and add one more entry to the array
> describing the physical memory. 

I guess this is what I have to do.

> But there is a catch: the kernel is
> loaded
> over 1M, into the second contiguous piece of memory that is normally the
> biggest. But if you have 15M hole and 32M of memory, the third piece
> would be the biggest, and the VM initialization code is thinking that
> the
> kernel is in the biggest piece, not the second. That would be wrong and
> need to be fixed.

Can I move the kernel to start at BOARD_BASE+BOARD_MASK? 
This would be the biggest piece for me and then the VM would look there,
correct?



/K

-- 
Johan Karlsson		mailto:k@numeri.campus.luth.se
SWEDEN









To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807190922.LAA03909>