[parisc-linux] Progress

Paul Bame bame@debian.fc.hp.com
Tue, 23 Nov 1999 08:59:52 -0700


= 
= Honestly, I don't think we have a way yet to use the command line the HPUX
= boot loader passes us (which I was told uses the ANSI C way of passing
= arguments, i.e. argument count in GR26, pointer to NULL-terminated array
= of pointers to NULL-terminated arrays of strings in GR25).  Anyone up to
= write some glue code that puts that back together into a simple long string
= Linux's commandline splitting code can spli again ?
= 

I wrote that glue a while back -- it's in real/setup.c and is #if-0-ed.
Unfortunately the strings are stored
in low-ish physical RAM which is overwritten when the our kernel is
loaded.  If we want the hpux command line badly enough, we'll have
to load the kernel at a higher physical location.  It could then
be copied to 0x10000 after we collect the command line.  

One could hard-code a command line in real/setup.c temporarily...

	-P