Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 1996 10:31:58 -0800
From:      Julian Elischer <julian@whistle.com>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        Hans Zuidam <hans@brandinnovators.com>, freebsd-hackers@freebsd.org
Subject:   Re: bootloader & memory test...
Message-ID:  <32C4161E.41C67EA6@whistle.com>
References:  <199612271358.AAA27921@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith wrote:
> 

> 
> > The memory test sets the CPU for flat 32 bit addressing and loads itself
> > to address 0x100.  It uses the area from 0x0 to 0xFF as it's stack.  Could
> > someone give me a hand (or pointers) to achieve the same using the FreeBSD
> > boot loader?  Thanks in advance,
> 
> The FreeBSD bootloader is _very_ different; you would be better off
> sticking with the code that's there.  If nobody beats me to it, I'll
> have a look at cutting you a new Makefile tomorrow.
> 
The FreeBSD botblocks set themselves to be in a flat  32bit address
space as well. They do use up more of the bottom 640K,
(but you can control where they put themselves in ram at compile time)

so it should be possible to add the function into one of the 
.s files



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32C4161E.41C67EA6>