Export the actual KERNBASE to the symbol table. We can use nlist() to get
this without having to second guess it in userland.
This commit is contained in:
parent
5897d41109
commit
c1c2006ca7
@ -100,6 +100,12 @@
|
||||
.set lapic,SMP_prvspace + (NPTEPG-1) * PAGE_SIZE
|
||||
#endif /* SMP */
|
||||
|
||||
/*
|
||||
* Compiled KERNBASE location
|
||||
*/
|
||||
.globl kernbase
|
||||
.set kernbase,KERNBASE
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
|
@ -100,6 +100,12 @@
|
||||
.set lapic,SMP_prvspace + (NPTEPG-1) * PAGE_SIZE
|
||||
#endif /* SMP */
|
||||
|
||||
/*
|
||||
* Compiled KERNBASE location
|
||||
*/
|
||||
.globl kernbase
|
||||
.set kernbase,KERNBASE
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
|
@ -100,6 +100,12 @@
|
||||
.set lapic,SMP_prvspace + (NPTEPG-1) * PAGE_SIZE
|
||||
#endif /* SMP */
|
||||
|
||||
/*
|
||||
* Compiled KERNBASE location
|
||||
*/
|
||||
.globl kernbase
|
||||
.set kernbase,KERNBASE
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user