Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 08/12/2000 20:53:03
Module Name: syssrc
Committed By: sommerfeld
Date: Sat Aug 12 17:53:02 UTC 2000
Modified Files:
syssrc/sys/arch/i386/i386 [sommerfeld_i386mp_1]: autoconf.c cpu.c
syssrc/sys/arch/i386/include [sommerfeld_i386mp_1]: cpu.h
Log Message:
Get ready for context switch changes:
- initialize idle pcbs earlier, before the first tsleep (instead of as
part of booting the secondary cpu's), since we'll actually use them
when idling in the near future.
- clean up cpu_hatch()
- fixup curproc's cpu pointer when switching to "real" cpu_info (XXX).
- turn on local apic clock in cpu_hatch()
- load the right gdt descriptor in cpu_hatch()
- return from cpu_hatch() instead of spinning there; current
mptramp code will spin; future code will jump to idle loop.
To generate a diff of this commit:
cvs rdiff -r1.45.2.3 -r1.45.2.4 syssrc/sys/arch/i386/i386/autoconf.c
cvs rdiff -r1.1.2.8 -r1.1.2.9 syssrc/sys/arch/i386/i386/cpu.c
cvs rdiff -r1.59.2.8 -r1.59.2.9 syssrc/sys/arch/i386/include/cpu.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.