]> Zhao Yanbai Git Server - minix.git/commit
kernel: some boottime sanitychecks
authorBen Gras <ben@minix3.org>
Tue, 6 Nov 2012 14:36:53 +0000 (15:36 +0100)
committerBen Gras <ben@minix3.org>
Thu, 8 Nov 2012 10:40:35 +0000 (11:40 +0100)
commitba05f39d1ef91ae61ac91daec21c32ca252a9e97
tree786efd16f4917197882268e8d0fa78ca286e66cc
parent77b6e2dcaacf83e8a405162ca6dfe6f521127486
kernel: some boottime sanitychecks

. Check if we have the right number of boot modules
. Check if the ELF parsing of VM actually succeeded

Both these are root causes of less-than-obvious other
errors/asserts a little further down the line; uncovered
while experimenting with booting by iPXE, specifically
(a) iPXE having a 8-multiboot-modules limit and
(b) trying to boot a gzipped VM.
include/minix/com.h
kernel/arch/i386/protect.c
kernel/main.c