Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Initialize ldt selector reg...
details: https://anonhg.NetBSD.org/src/rev/1e15493bb791
branches: sommerfeld_i386mp_1
changeset: 482277:1e15493bb791
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Mon Aug 21 02:36:20 2000 +0000
description:
Initialize ldt selector register on slave cpu's
diffstat:
sys/arch/i386/i386/cpu.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 179cf633b72d -r 1e15493bb791 sys/arch/i386/i386/cpu.c
--- a/sys/arch/i386/i386/cpu.c Mon Aug 21 02:25:15 2000 +0000
+++ b/sys/arch/i386/i386/cpu.c Mon Aug 21 02:36:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.1.2.12 2000/08/21 00:27:53 sommerfeld Exp $ */
+/* $NetBSD: cpu.c,v 1.1.2.13 2000/08/21 02:36:20 sommerfeld Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -394,6 +394,7 @@
cpu_init_idt();
gdt_init_cpu();
+ lldt(GSEL(GLDT_SEL, SEL_KPL));
if (ci->ci_flags & CPUF_RUNNING) {
panic("%s: already running!?", ci->ci_dev.dv_xname);
}
Home |
Main Index |
Thread Index |
Old Index