diff options
| -rw-r--r-- | kc/core/Makefile | 2 | ||||
| -rw-r--r-- | kc/core/main.c | 4 | ||||
| -rw-r--r-- | lib/elf.h | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/kc/core/Makefile b/kc/core/Makefile index f2ab99c..6674318 100644 --- a/kc/core/Makefile +++ b/kc/core/Makefile @@ -11,7 +11,7 @@ CFLAGS += -Wno-unused-const-variable -Wno-unused-function -fvisibility=hidden -g SOBJS := GOBJS := entry_x86_64.o reloc_x86_64.o kprint.o serial.o port.o \ - kc_main.o main.o memory.o memset.o memcpy.o memmove.o memcmp.o cpu.o \ + kc_main.o memory.o memset.o memcpy.o memmove.o memcmp.o cpu.o \ vm_tree.o exceptions.o panic.o msr.o task.o cpu_task.o \ kcc_memory.o string.o pic8259.o pic8259_isr.o pit8253.o IOBJS := diff --git a/kc/core/main.c b/kc/core/main.c deleted file mode 100644 index 2fb2e3e..0000000 --- a/kc/core/main.c +++ /dev/null @@ -1,4 +0,0 @@ -void kernel_main(void) -{ -} - @@ -8,10 +8,8 @@ #ifdef __x86_64__ # define elf_validate elf64_validate # define elf_size elf64_size -# define elf_reloc elf64_reloc #endif bool elf64_validate(Elf64_Ehdr *ehdr, unsigned type, unsigned machine); size_t elf64_size(Elf64_Ehdr *ehdr, Elf64_Phdr *phdr); -void elf64_reloc(Elf64_Ehdr *ehdr); |
