> : How about: load the kernel to 0x80100000, copy the exception handlers down
> : to KSEG0, declare KSEG0+sizeof(lowmemstuff) as memory base address and all
> : the kernel code+data+bss to be memory in use. Sounds easier than hacking
> : complex things for the loader just to cut the kernel into two pieces.
> OK. That's what I had in mind. I was going to copy the stuff down in
> head.S, since it isn't much to move and we want the interrupt handlers
> in shortly.
I know this is not difficult code, but if you want some code for this,
look in decstation.S... you may also want to create a deskstation.S
and use a link script as I have done for the DEC, rather than have
this kind of machine-specific code appear in head.S
Paul M. Antoine, Net: email@example.com
Softway Pty Ltd WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174
"It is the lack of acceptance of diversity which threatens to
destroy society, NOT the free expression of it." - Me.