Fixed some Task stuff, added DOSFS filesystem
This commit is contained in:
1 parent
6ebee28032
commit
9216b3359a
15 files changed
+2280
-56
No files matched your search
@@ -1,11 +1,11 @@
|
||||
objects = entry.o kernel.o task.o handler.o interrupt.o v86.o print.o tss.o
|
||||
objects = entry.o kernel.o task.o handler.o interrupt.o v86.o print.o tss.o dosfs/dosfs.o
|
||||
CFLAGS = -target "i686-elf" -m32 -mgeneral-regs-only -ffreestanding -march=pentium-m -fno-stack-protector -nostdlib -c
|
||||
|
||||
%.o: %.nasm
|
||||
nasm -f elf32 -o $@ $<
|
||||
|
||||
%.o: %.c
|
||||
clang $(CFLAGS) -O2 $<
|
||||
clang $(CFLAGS) -O2 -o $@ $<
|
||||
|
||||
all: $(objects)
|
||||
nasm boot.nasm -o boot.bin
|
||||
@@ -17,3 +17,5 @@ virtdisk:
|
||||
dd bs=1M count=32 if=/dev/zero of=virtdisk.bin
|
||||
echo -n -e '\x55\xaa' | dd bs=1 seek=510 conv=notrunc of=virtdisk.bin
|
||||
|
||||
clean:
|
||||
rm $(objects)
|
||||
Reference in new issue
Block a user