Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*************************************************************
- * MULTIBOOT Header
- * These data are placed at the beginning of the kernel file
- * Grub 2 needs these data to boot properly
- * see multiboot specification
- *************************************************************/
- #pragma code_seg(".a$0")
- __declspec(allocate(".a$0"))
- multiboot_header _MultibootHeader = {
- MULTIBOOT_HEADER_MAGIC,
- MULTIBOOT_HEADER_FLAGS,
- CHECKSUM,
- HEADER_ADDRESS,
- LOADBASE,
- 0, //load end address
- 0, //bss end address
- (unsigned long)DNA_Startup,
- 0,
- 800,
- 600,
- 8
- };
- #pragma comment(linker, "/merge:.text=.a")
Advertisement
Add Comment
Please, Sign In to add comment