From 236963e7563be3e3f8220dac7bb4af446928e194 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 24 Jun 2024 22:55:29 -0400 Subject: Clean out for expt Signed-off-by: Ian Moffett --- conf/limine.cfg | 8 -------- conf/link-amd64.ld | 47 ----------------------------------------------- conf/user-link.ld | 27 --------------------------- 3 files changed, 82 deletions(-) delete mode 100644 conf/limine.cfg delete mode 100644 conf/link-amd64.ld delete mode 100644 conf/user-link.ld (limited to 'conf') diff --git a/conf/limine.cfg b/conf/limine.cfg deleted file mode 100644 index ec496b7..0000000 --- a/conf/limine.cfg +++ /dev/null @@ -1,8 +0,0 @@ -TIMEOUT=0 - -:Hyra - -PROTOCOL=limine -KERNEL_PATH=boot:///boot/hyra-kernel -MODULE_PATH=boot:///boot/initramfs.tar -EDITOR_ENABLED=no diff --git a/conf/link-amd64.ld b/conf/link-amd64.ld deleted file mode 100644 index f2daff7..0000000 --- a/conf/link-amd64.ld +++ /dev/null @@ -1,47 +0,0 @@ -OUTPUT_FORMAT(elf64-x86-64) -OUTPUT_ARCH(i386:x86-64) -ENTRY(main) - -PHDRS -{ - text PT_LOAD FLAGS((1 << 0) | (1 << 2)) ; /* Execute + Read */ - rodata PT_LOAD FLAGS((1 << 2)) ; /* Read only */ - data PT_LOAD FLAGS((1 << 1) | (1 << 2)) ; /* Write + Read */ -} - -SECTIONS -{ - . = 0xFFFFFFFF80000000; - - .text : { - *(.text .text.*) - } :text - - . += CONSTANT(MAXPAGESIZE); - - .rodata : { - *(.rodata .rodata.*) - } :rodata - - .drivers : { - __drivers_init_start = .; - *(.drivers .drivers) - __drivers_init_end = .; - } :rodata - - . += CONSTANT(MAXPAGESIZE); - - .data : { - *(.data .data.*) - } :data - - .bss : { - *(COMMON) - *(.bss .bss.*) - } :data - - /DISCARD/ : { - *(.eh_frame) - *(.note .note.*) - } -} diff --git a/conf/user-link.ld b/conf/user-link.ld deleted file mode 100644 index 9bbe6ae..0000000 --- a/conf/user-link.ld +++ /dev/null @@ -1,27 +0,0 @@ -ENTRY(_start) - -SECTIONS -{ - . = 0x10000; - - .text : - { - *(.text) - *(.text.*) - } - - .data : ALIGN(8) - { - *(.data) - *(.data.*) - } - - .bss : ALIGN(8) - { - __bss_start = .; - *(.bss) - *(.bss.*) - __bss_end = .; - } -} - -- cgit v1.2.3