summaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorJake Mannens <jakem_5@hotmail.com>2020-02-23 03:35:26 +1100
committerJake Mannens <jakem_5@hotmail.com>2020-02-23 03:35:26 +1100
commita77b79c1959a134764b88cfe70411d109c6c0354 (patch)
treea54c73301f351ae6213b5927cd0f3364b56ddf37 /kernel/Makefile
parent13beef7e581d034dc477a20ad845844b1de24405 (diff)
Switched the physical memory allocator to a bitmap table. Previously,
page allocations were recorded by marking entries in the dummy page tables 'flow' and 'fupp'. This approach was not very memory efficient, since 4-bytes were used to record each page. Now, a bitmap table is used, where every bit represents a page (every byte therefore representing 8 pages). This approach also shaves some CPU time during allocation, since 8 pages can be checked at a time by testing whole bytes.
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index f9e14e8..1197636 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -28,3 +28,6 @@ $(TARGET): $(OBJS)
clean:
rm -f $(OBJS)
rm -f $(TARGET)
+
+run:
+ make -C .. run