-
Notifications
You must be signed in to change notification settings - Fork 1
kernelpanic Codes
The kernelpanic error codes are reserved for kernel panics, currently triggered by the NklKernelPanic function. Arguments should be null unless otherwise specified. Codes that are not specified are invalid and should not be used.
The current kernelpanic error codes are as follows:
Code 0x00000001 Name KERNELPANIC_REACHED_END_OF_KERNEL_CODE Description The end of kernel code has been reached and the system has been suspended to prevent damage to hardware
Code 0x00000002 Name KERNELPANIC_HAL_FAILURE Description A critical HAL (Hardware Abstraction Layer) function has failed to execute correctly and kernel operation cannot continue Argument 1 The base address of the function that failed to execute
Code 0x00000003 Name KERNELPANIC_UNHANDLED_INTERRUPT Description An unhandled interrupt has been fired in ring 0 and the kernel has been shut down to prevent incorrect driver behavior
Code 0xDEADBEEF Name KERNELPANIC_DEBUG_TRAP Description The kernel has been intentionally bugchecked for debug purpouses. This error should not normally appear.
Roadmap:
- Stage 1 FAT12 bootloader
- Stage 2 bootloader (SOARELDR)
- Hardware Abstraction Layer
- GDT and IDT abstraction
- Memory manager
- Disk IO
- PE Loader
- Convert HAL to be a module
- Keyboard IO