mirror of
https://github.com/xomboverlord/xomb-bare-bones.git
synced 2026-01-11 18:33:15 +01:00
18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
; multiboot definitions
|
|
%define MULTIBOOT_HEADER_MAGIC 0x1BADB002
|
|
%define MULTIBOOT_HEADER_FLAGS 0x00010003
|
|
|
|
; where is the kernel?
|
|
%define KERNEL_VMA_BASE 0xFFFF800000000000
|
|
%define KERNEL_LMA_BASE 0x100000
|
|
|
|
; the gdt entry to use for the kernel
|
|
%define CS_KERNEL 0x10
|
|
%define CS_KERNEL32 0x08
|
|
|
|
; other definitions
|
|
|
|
%define STACK_SIZE 0x4000
|
|
|
|
|