removed useless braces..

merge-requests/1/merge
xerox 4 years ago
parent 7ea271bfec
commit a1171f1524

@ -78,15 +78,12 @@ namespace nasa
{
const auto pml4 =
reinterpret_cast<ppml4e>(
set_page(dirbase));
pml4[pml4e_index] = pml4e{ NULL };
set_page(dirbase))[pml4e_index] = pml4e{ NULL };
}
void* mem_ctx::set_page(void* addr)
{
// table entry change.
{
++pte_index;
if (pte_index >= 511)
{
@ -102,7 +99,6 @@ namespace nasa
if (pdpte_index >= 511)
pdpte_index = 0;
}
pdpte new_pdpte = { NULL };
new_pdpte.present = true;

Loading…
Cancel
Save