Source-Changes archive

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

CVS commit: src/sys/arch/luna68k



Module Name:    src
Committed By:   tsutsui
Date:           Sat Jan 11 08:07:16 UTC 2014

Modified Files:
        src/sys/arch/luna68k/luna68k: autoconf.c locore.s machdep.c
Added Files:
        src/sys/arch/luna68k/include: bootinfo.h

Log Message:
Add support to pass boothowto and bootdev info from bootloader to kernel.

Kernel side changes:
- use %d7 (boothowto) and %d6 (bootdev) to pass info and also use
  old macro in <sys/reboot.h> as ancient 4.4BSD did for simplicity
- add <machine/bootinfo.h> to define values as API to pass these info
- save boothowto and bootdev in registers right after zero'ing bss
- add MD device_register(9) to check booted_device per passed bootdev info
- merge old bootarg checks in rootconf() and luna68k_init() with
  tweaks for backward compatibility
  (direct boot a.out kernel from ROM monitor without bootloader still works)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/luna68k/include/bootinfo.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/luna68k/luna68k/autoconf.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/luna68k/luna68k/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