Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sgimips/sgimips



Module Name:    src
Committed By:   tsutsui
Date:           Sun Aug  3 00:35:04 UTC 2008

Modified Files:
        src/sys/arch/sgimips/sgimips: machdep.c

Log Message:
Two fixes to make -current kernel be loadable by 4.0 bootloader:
- if bootinfo is not passed from bootloader, check argv[1] first
  which might be the loaded kernel path specified for bootloader
- when using argv[0] as the kernel path (loaded directly by the PROM)
  assume boot partition is 0 (partition a) since the kernel might be
  in an SGI volume header partition and it can't be a root partition

Ok'ed by rumble@, and tested on IP22 and IP32.


To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 src/sys/arch/sgimips/sgimips/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index