Remove userspace for now

This commit is contained in:
apio 2022-09-24 21:29:10 +02:00
parent 46b7dab847
commit a0459df8d7
5 changed files with 5 additions and 25 deletions

View File

@ -1,11 +1,10 @@
build: $(LUNA_ROOT)/kernel/bin/moon.elf $(LUNA_ROOT)/userspace/bin/Hello.bin
build: $(LUNA_ROOT)/kernel/bin/moon.elf
clean: moon-clean initrd-clean userspace-clean
clean: moon-clean initrd-clean
initrd-clean:
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso $(LUNA_ROOT)/initrd/sys/Hello.bin
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso
install: $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/initrd/sys/Hello.bin
install: $(LUNA_ROOT)/initrd/boot/moon.elf
include kernel/Makefile
include userspace/Makefile
include kernel/Makefile

View File

@ -1 +0,0 @@
<EFBFBD>1

View File

@ -1,12 +0,0 @@
USERSPACE_DIR=$(LUNA_ROOT)/userspace
USERSPACE_SRC=$(USERSPACE_DIR)/src
USERSPACE_BIN=$(USERSPACE_DIR)/bin
$(USERSPACE_BIN)/Hello.bin: $(USERSPACE_SRC)/Hello.asm
nasm -fbin $< -o $@
$(LUNA_ROOT)/initrd/sys/Hello.bin: $(USERSPACE_BIN)/Hello.bin
cp $< $@
userspace-clean:
rm -rf $(USERSPACE_BIN)/*

View File

@ -1 +0,0 @@
<EFBFBD>1

View File

@ -1,5 +0,0 @@
[BITS 64]
[ORG 7000h]
init:
int 31h ; exit