Add a config.mk file where global variables can be modified, add aarch64

interrupts with IRQ and syscalls, make phys_to_virt checked, recreate
stack on aarch64, make serial console finally line wrap and have max
height correctly, add U64Buf for when i need number debug, rename mouse
and keyboard files to kmi and merge them, add non-working pl050 support
This commit is contained in:
csd4ni3l
2026-05-16 23:43:13 +02:00
parent 812d4cf6d4
commit 2a73c3aeb4
30 changed files with 979 additions and 278 deletions
+3 -9
View File
@@ -1,16 +1,10 @@
include config.mk
# Nuke built-in rules and variables.
MAKEFLAGS += -rR
.SUFFIXES:
# Convenience macro to reliably declare user overridable variables.
override USER_VARIABLE = $(if $(filter $(origin $(1)),default undefined),$(eval override $(1) := $(2)))
# Target architecture to build for. Default to x86_64.
$(call USER_VARIABLE,KARCH,x86_64)
# Default user QEMU flags. These are appended to the QEMU command calls.
$(call USER_VARIABLE,QEMUFLAGS,-m 2G)
override QEMUFLAGS := -m $(MEMORY)
override IMAGE_NAME := XunilOS-$(KARCH)
.PHONY: all