added kernel panic function
added page-fault error code handling
added code to access x86 regs