summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-30 13:23:12 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-30 13:23:12 +0000
commitda02cc0e6a5197f256330fd2298292923917f3b4 (patch)
tree6afa43cda15afb59f02bce6c3ec7a46271eb157a /sys/arch/i386/include
parentf752ff0def1e384bb68bebaa5aabcb424e22b78d (diff)
Move proc0's TSS and LDT initialization to a separate function
that's called at the end of configure instead of cpu_startup. Inspired by NetBSD.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 6476366c944..17d31917151 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.34 2001/02/19 04:57:02 ho Exp $ */
+/* $OpenBSD: cpu.h,v 1.35 2001/04/30 13:23:11 art Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -184,6 +184,7 @@ void dkcsumattach __P((void));
void delay __P((int));
void dumpconf __P((void));
void cpu_reset __P((void));
+void i386_proc0_tss_ldt_init __P((void));
/* locore.s */
struct region_descriptor;