[parisc-linux-cvs] palo bame
Paul Bame
bame@puffin.external.hp.com
Thu, 8 Feb 2001 21:06:23 -0700
CVSROOT: /home/cvs/parisc
Module name: palo
Changes by: bame 01/02/08 21:06:23
Modified files:
ipl : Makefile crt0.S ipl.c lib.c
lib : common.h
Log message:
Arrange for palo ipl to live at 3/4Mb aka 0x60000 instead of up at 5Mb
as currently is done. According to PDC docs on pehc (which are violated
by firmware on c3k becaue it loads ipl at 0x29000 when max is stated to
be 0x20000), 3/4Mb is the lowest place ipl can be copied which
won't possibly result in an overlapping copy. Tricks could be used
to go lower if necessary.
Move the palo stack and heap up to the top of the initial memory module
instead of directly following the palo executable. This should
theoretically allow for huge ramdisks.
ipl/Makefile:
Adjust relocation address from 0x00500000 to 0x00060000
ipl/crt0.S:
Calculate new SP based on initial memory module size
Implement a (crappy) copy and cache flush in assembly
to avoid using C for this (C isn't always PIC enough).
ipl/ipl.c:
Remove the unused ipl copying code
Change heap initialization
ipl/lib.c:
Change heap allocator to grow down instead of up
lib/common.h:
Fix DECLARE_ALIGNED_STRING() macro which was using way too
much memory which was caught by having the stack at top of RAM.