From 5e9190ff1a7d35e812b42c5bb9cbb742c2d313fb Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Mon, 5 Feb 2024 14:04:25 +0100 Subject: MM: add modules for memory management --- src/arch/x86_64/asm/e820.s | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/arch/x86_64/asm/e820.s (limited to 'src/arch/x86_64/asm') 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? -- cgit v1.2.3-70-g09d2