aboutsummaryrefslogtreecommitdiff
path: root/src/boot/trampoline.cc
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-28 15:07:12 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-28 15:07:12 +0200
commit067d6e340be698b0e26b7732215a1969e0e683f3 (patch)
tree88cf82e14bdcfc460a18980a73e419fbb0c58763 /src/boot/trampoline.cc
parent778e43c0a2d1f1cc952c3ec0c0b9d5bd3ff4995a (diff)
Refactoring
Diffstat (limited to 'src/boot/trampoline.cc')
-rw-r--r--src/boot/trampoline.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/boot/trampoline.cc b/src/boot/trampoline.cc
index a75b472..68bc349 100644
--- a/src/boot/trampoline.cc
+++ b/src/boot/trampoline.cc
@@ -90,10 +90,6 @@ extern "C" u8* trampoline(u8* mb_infos_addr){
for(u64 i=0;i<=0x1000000;i+=4096){
trampoline_paging_allocate_addr(pml4,i,i,0x3);
}
- // Test
- for(u64 i=0xe0000000;i<=0xef000000;i+=4096){
- trampoline_paging_allocate_addr(pml4,i,i,0x3);
- }
// Load new pml4
asm volatile(