diff options
author | peter <peter@FreeBSD.org> | 2001-08-24 08:29:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-08-24 08:29:54 +0000 |
commit | ef6d8b9ba17818a35b10d11baed552a605621266 (patch) | |
tree | bcb1cdcdcd59a13dd68e737208b3946972b8f384 /sys/amd64 | |
parent | 5ccbb1e22b45c1c388123f3802ea88c1fb9ac98f (diff) | |
download | FreeBSD-src-ef6d8b9ba17818a35b10d11baed552a605621266.zip FreeBSD-src-ef6d8b9ba17818a35b10d11baed552a605621266.tar.gz |
Export the actual KERNBASE to the symbol table. We can use nlist() to get
this without having to second guess it in userland.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/locore.S | 6 | ||||
-rw-r--r-- | sys/amd64/amd64/locore.s | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 3007ee1..5549cba 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -101,6 +101,12 @@ #endif /* SMP */ /* + * Compiled KERNBASE location + */ + .globl kernbase + .set kernbase,KERNBASE + +/* * Globals */ .data diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 3007ee1..5549cba 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -101,6 +101,12 @@ #endif /* SMP */ /* + * Compiled KERNBASE location + */ + .globl kernbase + .set kernbase,KERNBASE + +/* * Globals */ .data |