diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-10 20:59:07 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-10 20:59:07 +0000 |
commit | ce530fb8fa4f206001fcd8ea72ed1e688fb50ae6 (patch) | |
tree | ccb9245bba12bfb56b21461ccd55e2ba5dfdd235 /sys/i386/isa/ipl.s | |
parent | 1dfa4285cfa0b9ccaf496d58a56e76482ffdaaaf (diff) | |
download | FreeBSD-src-ce530fb8fa4f206001fcd8ea72ed1e688fb50ae6.zip FreeBSD-src-ce530fb8fa4f206001fcd8ea72ed1e688fb50ae6.tar.gz |
Added trap specific lock calls: get_fpu_lock, etc.
All resolve to the GIANT_LOCK at this time, it is purely a logical partitioning.
Diffstat (limited to 'sys/i386/isa/ipl.s')
-rw-r--r-- | sys/i386/isa/ipl.s | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s index 45b0de5..acf8621 100644 --- a/sys/i386/isa/ipl.s +++ b/sys/i386/isa/ipl.s @@ -36,7 +36,7 @@ * * @(#)ipl.s * - * $Id: ipl.s,v 1.5 1997/07/31 05:42:06 fsmp Exp $ + * $Id: ipl.s,v 1.5 1997/08/10 20:47:53 smp Exp smp $ */ @@ -137,11 +137,12 @@ doreti_stop: nop 1: #endif /* VM86 */ -#if 0 - REL_MPLOCK -#else - REL_ISRLOCK(-1) -#endif + + /* release the kernel lock */ + pushl $_mp_lock /* GIANT_LOCK */ + call _MPrellock + add $4, %esp + .globl doreti_popl_es doreti_popl_es: popl %es @@ -356,4 +357,4 @@ swi_tty: #include "i386/isa/apic_ipl.s" #else #include "i386/isa/icu_ipl.s" -#endif /* APIC_IO */ +#endif /* APIC_IO */ |