summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-10-27 00:26:07 +0000
committermarcel <marcel@FreeBSD.org>2008-10-27 00:26:07 +0000
commit460ad2e4b23d030a6be346fdfdec28c89d4d07b9 (patch)
treef37e6356c93c7733167460cf92b63eb2fb317568 /sys/powerpc
parentf81b969763ed0fb47b7286275a04a203cf97c615 (diff)
downloadFreeBSD-src-460ad2e4b23d030a6be346fdfdec28c89d4d07b9.zip
FreeBSD-src-460ad2e4b23d030a6be346fdfdec28c89d4d07b9.tar.gz
Declare btext and etext. Needed by sys/kern/subr_prof.c for
for kernel profiling.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index a8fea27..9856ab0 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -69,6 +69,9 @@ get_cyclecount(void)
#define cpu_getstack(td) ((td)->td_frame->fixreg[1])
#define cpu_spinwait() /* nothing */
+extern char btext[];
+extern char etext[];
+
void cpu_halt(void);
void cpu_reset(void);
void fork_trampoline(void);
OpenPOWER on IntegriCloud