mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
uncomment code
it was commented for debugging and I forgot to uncomment it
This commit is contained in:
@@ -36,10 +36,10 @@ static uint64_t* next(uint64_t* table, size_t offset){
|
||||
|
||||
table = (uint64_t)table & ~(0xFFF);
|
||||
|
||||
//if(table < limine_hhdm_offset){
|
||||
// table = (uint64_t)table & ~(1 << 63); // remove NX
|
||||
// table = (uint64_t)table + (uint64_t)limine_hhdm_offset;
|
||||
//}
|
||||
if(table < limine_hhdm_offset){
|
||||
table = (uint64_t)table & ~(1 << 63); // remove NX
|
||||
table = (uint64_t)table + (uint64_t)limine_hhdm_offset;
|
||||
}
|
||||
|
||||
return table[offset] & ~(0xFFF);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user