From 90ca35f8c0d8d84093628bcc1ffe78f5479b51e3 Mon Sep 17 00:00:00 2001 From: AlmuHS Date: Mon, 8 Jul 2019 21:20:40 +0200 Subject: refactor: removed paging code from assembly routine --- i386/i386/cpuboot.S | 73 ++++------------------------------------------------- 1 file changed, 5 insertions(+), 68 deletions(-) diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index e1e3635a..5373e9a3 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -85,74 +85,7 @@ _apboot: movw %ax,%es movw %ax,%ss -/*#if PAE*/ -/* //set_cr3((unsigned)_kvtophys(kernel_pmap->pdpbase));*/ -/* movl (pdpbase_addr), %eax*/ -/* movl %eax, %cr3*/ - -/*#ifndef MACH_HYP*/ -/* //if (!CPU_HAS_FEATURE(CPU_FEATURE_PAE))*/ -/* movl (cpu_features), %eax*/ -/* test $(1<