Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/i386/locore.s
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
#include <machine/cputypes.h> | #include <machine/cputypes.h> | ||||
#include <machine/psl.h> | #include <machine/psl.h> | ||||
#include <machine/pmap.h> | #include <machine/pmap.h> | ||||
#include <machine/specialreg.h> | #include <machine/specialreg.h> | ||||
#include "assym.inc" | #include "assym.inc" | ||||
/* | /* | ||||
* PTmap is recursive pagemap at top of virtual address space. | |||||
* Within PTmap, the page directory can be found (third indirection). | |||||
*/ | |||||
.globl PTmap,PTD,PTDpde | |||||
.set PTmap,(PTDPTDI << PDRSHIFT) | |||||
.set PTD,PTmap + (PTDPTDI * PAGE_SIZE) | |||||
.set PTDpde,PTD + (PTDPTDI * PDESIZE) | |||||
/* | |||||
* Compiled KERNBASE location and the kernel load address, now identical. | * Compiled KERNBASE location and the kernel load address, now identical. | ||||
*/ | */ | ||||
.globl kernbase | .globl kernbase | ||||
.set kernbase,KERNBASE | .set kernbase,KERNBASE | ||||
.globl kernload | .globl kernload | ||||
.set kernload,KERNLOAD | .set kernload,KERNLOAD | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 392 Lines • Show Last 20 Lines |