aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/asm/e820.s
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-05 14:04:25 +0100
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:13:38 +0200
commit5e9190ff1a7d35e812b42c5bb9cbb742c2d313fb (patch)
tree39fca5cda21500f51488193018a45f65c768d0ad /src/arch/x86_64/asm/e820.s
parent959d50d9117a0ed3f280bf7d5bfbffd1fa1a5740 (diff)
MM: add modules for memory management
Diffstat (limited to 'src/arch/x86_64/asm/e820.s')
-rw-r--r--src/arch/x86_64/asm/e820.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86_64/asm/e820.s b/src/arch/x86_64/asm/e820.s
new file mode 100644
index 0000000..59c672a
--- /dev/null
+++ b/src/arch/x86_64/asm/e820.s
@@ -0,0 +1,2 @@
+; getting an E820 memory map, code from osdev wiki.
+; this only works in real mode ... how to do it in long mode?