Home
last modified time | relevance | path

Searched refs:KERNBASE (Results 1 – 5 of 5) sorted by relevance

/xv6-public/
H A Dmemlayout.h8 #define KERNBASE 0x80000000 // First kernel virtual address macro
9 #define KERNLINK (KERNBASE+EXTMEM) // Address where kernel is linked
11 #define V2P(a) (((uint) (a)) - KERNBASE)
12 #define P2V(a) ((void *)(((char *) (a)) + KERNBASE))
14 #define V2P_WO(x) ((x) - KERNBASE) // same as V2P, but without casts
15 #define P2V_WO(x) ((x) + KERNBASE) // same as P2V, but without casts
H A Dmain.c107 [KERNBASE>>PDXSHIFT] = (0) | PTE_P | PTE_W | PTE_PS,
H A Dspinlock.c79 if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff) in getcallerpcs()
H A Dvm.c111 { (void*)KERNBASE, 0, EXTMEM, PTE_W}, // I/O space
227 if(newsz >= KERNBASE) in allocuvm()
290 deallocuvm(pgdir, KERNBASE, 0); in freevm()
H A Dusertests.c1497 for(a = (char*)(KERNBASE); a < (char*) (KERNBASE+2000000); a += 50000){ in sbrktest()