kernel_main.h 212 B

12345678910
  1. #pragma once
  2. #define MAKE_BREAK_POINT() asm volatile("xchgw %bx, %bx")
  3. #define KERNEL_STACK_SIZE (16 * 1024)
  4. #define KERNEL_STACK_SEGMENT (0x10)
  5. #define KERNEL_START_ADDR (0x00100000)
  6. void kernel_main(void);