summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/md_var.h
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2010-01-24 03:10:48 +0000
committergonzo <gonzo@FreeBSD.org>2010-01-24 03:10:48 +0000
commita5fe9358cb74f3a902fb68fdfed0569487e08726 (patch)
treebd1823571c44f22e39855ca1288e119ff138ad82 /sys/mips/include/md_var.h
parentd184a1dc591e220ab469cf09ad53989e6d347422 (diff)
downloadFreeBSD-src-a5fe9358cb74f3a902fb68fdfed0569487e08726.zip
FreeBSD-src-a5fe9358cb74f3a902fb68fdfed0569487e08726.tar.gz
- Introduce kernel_kseg0_end variable that marks first address in KSEG0
available for use. All data below this address considered to be used by kernel. Along with kernel own data it might be symbol tables prepeared by trampoline code, boot loader service data passed for further analysis by kernel, etc... By default kernel_kseg0_end points to the end of loaded kernel. - Introduce mips_postboot_fixup function. It checks for symbol information copied by ELF trampoline and passes it to KDB
Diffstat (limited to 'sys/mips/include/md_var.h')
-rw-r--r--sys/mips/include/md_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/include/md_var.h b/sys/mips/include/md_var.h
index dbfb451..ab3c3e6 100644
--- a/sys/mips/include/md_var.h
+++ b/sys/mips/include/md_var.h
@@ -44,6 +44,7 @@ extern char sigcode[];
extern int szsigcode, szosigcode;
extern vm_offset_t kstack0;
+extern vm_offset_t kernel_kseg0_end;
void MipsSaveCurFPState(struct thread *);
void fork_trampoline(void);
@@ -69,6 +70,7 @@ void cpu_identify(void);
void mips_cpu_init(void);
void mips_pcpu0_init(void);
void mips_proc0_init(void);
+void mips_postboot_fixup(void);
/* Platform call-downs. */
void platform_identify(void);
OpenPOWER on IntegriCloud