mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Merged from sys/i386/i386/machdep.c revision 1.408.
This commit is contained in:
parent
b8ffb8442a
commit
6402000285
2 changed files with 12 additions and 12 deletions
|
|
@ -2250,6 +2250,12 @@ init386(first)
|
|||
isa_defaultirq();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Giant is used early for at least debugger traps, unexpected traps,
|
||||
* and vm86bios initialization.
|
||||
*/
|
||||
mtx_init(&Giant, "Giant", MTX_DEF);
|
||||
|
||||
#ifdef DDB
|
||||
kdb_init();
|
||||
if (boothowto & RB_KDB)
|
||||
|
|
@ -2284,12 +2290,6 @@ init386(first)
|
|||
dblfault_tss.tss_cs = GSEL(GCODE_SEL, SEL_KPL);
|
||||
dblfault_tss.tss_ldt = GSEL(GLDT_SEL, SEL_KPL);
|
||||
|
||||
/*
|
||||
* We grab Giant during the vm86bios routines, so we need to ensure
|
||||
* that it is up and running before we use vm86.
|
||||
*/
|
||||
mtx_init(&Giant, "Giant", MTX_DEF);
|
||||
|
||||
vm86_initialize();
|
||||
getmemsize(first);
|
||||
|
||||
|
|
|
|||
|
|
@ -2250,6 +2250,12 @@ init386(first)
|
|||
isa_defaultirq();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Giant is used early for at least debugger traps, unexpected traps,
|
||||
* and vm86bios initialization.
|
||||
*/
|
||||
mtx_init(&Giant, "Giant", MTX_DEF);
|
||||
|
||||
#ifdef DDB
|
||||
kdb_init();
|
||||
if (boothowto & RB_KDB)
|
||||
|
|
@ -2284,12 +2290,6 @@ init386(first)
|
|||
dblfault_tss.tss_cs = GSEL(GCODE_SEL, SEL_KPL);
|
||||
dblfault_tss.tss_ldt = GSEL(GLDT_SEL, SEL_KPL);
|
||||
|
||||
/*
|
||||
* We grab Giant during the vm86bios routines, so we need to ensure
|
||||
* that it is up and running before we use vm86.
|
||||
*/
|
||||
mtx_init(&Giant, "Giant", MTX_DEF);
|
||||
|
||||
vm86_initialize();
|
||||
getmemsize(first);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue