Handle IRQs inside the kernel
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s

This commit is contained in:
2026-03-13 20:33:27 +01:00
parent 4760818118
commit 217179c9a0
84 changed files with 14517 additions and 1297 deletions

View File

@@ -8,6 +8,8 @@ include src.mk
include ../generic/flags.mk
include ../$(platform)/flags.mk
FORMAT ?= clang-format -i $$(git ls-files '*.c' '*.h')
all: build/$(libname).a
build/$(libname).a: $(o)
@@ -23,7 +25,7 @@ clean:
rm -f $(o) build/$(libname).a
format:
clang-format -i $$(git ls-files '*.c' '*.h')
$(FORMAT)
docs:
rm -rf docs

View File

@@ -1,16 +0,0 @@
all_liballoc:
make -C liballoc platform=$(platform) all
all_compiledb_liballoc:
bear --output liballoc/compile_commands.json -- make -C liballoc platform=$(platform) all
clean_liballoc:
make -C liballoc platform=$(platform) clean
format_liballoc:
make -C liballoc platform=$(platform) format
docs_liballoc:
make -C liballoc platform=$(platform) docs
.PHONY: all_liballoc clean_liballoc format_liballoc docs_liballoc all_compiledb_liballoc

16
make/libmalloc.mk Normal file
View File

@@ -0,0 +1,16 @@
all_libmalloc:
make -C libmalloc platform=$(platform) all
all_compiledb_libmalloc:
bear --output libmalloc/compile_commands.json -- make -C libmalloc platform=$(platform) all
clean_libmalloc:
make -C libmalloc platform=$(platform) clean
format_libmalloc:
make -C libmalloc platform=$(platform) format
docs_libmalloc:
make -C libmalloc platform=$(platform) docs
.PHONY: all_libmalloc clean_libmalloc format_libmalloc docs_libmalloc all_compiledb_libmalloc

View File

@@ -2,8 +2,8 @@ cc := clang
ld := ld.lld
o :=
c :=
ldflags += -L ../libsystem/build -l:libsystem.a -L ../liballoc/build -l:liballoc.a
cflags += -isystem ../libsystem -isystem ../liballoc
ldflags += -L ../libsystem/build -l:libsystem.a
cflags += -isystem ../libsystem
extra_deps +=
include src.mk