X86: Report an error if there's no kernel object, don't blindly use it.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 21 Apr 2012 22:00:23 +0000 (15:00 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 21 Apr 2012 22:00:23 +0000 (15:00 -0700)
commit29329e61b7ca28e14173fb01fdc21396a5507b5d
treebd49960b8920181e649c1f21df38f7882a87609c
parent7aa57ac882507f00fded32539dc1adb6998e89ad
X86: Report an error if there's no kernel object, don't blindly use it.

This way the user gets a nice message instead of a less nice segfault.
src/arch/x86/system.cc