tasking: continue working on executing ELF files
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o \
|
||||
bin/utils.o bin/string.o bin/stdio.o bin/disk.o bin/pic.o bin/pit.o \
|
||||
bin/keyboard.o bin/paging.o bin/page_alloc.o bin/page_tables.o \
|
||||
bin/fat.o bin/task.o bin/switch.o bin/sys_exit.o bin/gdt.o bin/isr-asm.o bin/kheap.o bin/liballoc.o
|
||||
bin/fat.o bin/task.o bin/switch.o bin/sys_exit.o bin/gdt.o bin/isr-asm.o \
|
||||
bin/kheap.o bin/liballoc.o bin/exec_from_file.o
|
||||
|
||||
# Define the compiler and assembler
|
||||
#CC = i686-elf-gcc -D__is_katauos
|
||||
@@ -55,6 +56,9 @@ test:
|
||||
debug:
|
||||
qemu-system-i386 -s -S -kernel katauos.bin -monitor stdio
|
||||
|
||||
debug2:
|
||||
qemu-system-i386 -s -S -drive file=boot.iso,media=disk,format=raw -monitor stdio
|
||||
|
||||
test-bochs:
|
||||
bochs -f bochsrc
|
||||
|
||||
@@ -130,6 +134,8 @@ bin/kheap.o: src/mm/kheap.c
|
||||
bin/liballoc.o: src/mm/liballoc.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bin/exec_from_file.o: src/tasking/exec_from_file.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf bin/
|
||||
|
||||
Reference in New Issue
Block a user