From 71f9e38fa2d4dc13b36ced356445eea08f620127 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 22 Dec 2014 19:53:55 +0000 Subject: MFC 271405,271408,271409,272658: MFamd64: Use initializecpu() to set various model-specific registers on AP startup and AP resume (it was already used for BSP startup and BSP resume). --- sys/pc98/pc98/machdep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/pc98') diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index f17bc19..e046960 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -2310,6 +2310,7 @@ init386(first) setidt(IDT_GP, &IDTVEC(prot), SDT_SYS386TGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); initializecpu(); /* Initialize CPU registers */ + initializecpucache(); /* make an initial tss so cpu can get interrupt stack on syscall! */ /* Note: -16 is so we can grow the trapframe if we came from vm86 */ -- cgit v1.1