summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/solaris/sun_vid.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-11 23:59:24 -0400
committerAdam Jackson <ajax@redhat.com>2008-11-24 23:40:06 -0500
commit47478aa10adb20b6e48335ac8c4ef31f3fdfe68c (patch)
tree8e83cadba792a2a63e8d89d1021e9fbd50444b85 /hw/xfree86/os-support/solaris/sun_vid.c
parentc7680befe5aebd0f4277d11ff3984d8a7deb9d5b (diff)
Remove xf86{En,Dis}ableInterrupts entirely
Diffstat (limited to 'hw/xfree86/os-support/solaris/sun_vid.c')
-rw-r--r--hw/xfree86/os-support/solaris/sun_vid.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/hw/xfree86/os-support/solaris/sun_vid.c b/hw/xfree86/os-support/solaris/sun_vid.c
index 2b50dd619..3982f631f 100644
--- a/hw/xfree86/os-support/solaris/sun_vid.c
+++ b/hw/xfree86/os-support/solaris/sun_vid.c
@@ -263,46 +263,3 @@ xf86DisableIO(void)
ExtendedEnabled = FALSE;
#endif /* i386 */
}
-
-
-/***************************************************************************/
-/* Interrupt Handling section */
-/***************************************************************************/
-
-_X_EXPORT Bool
-xf86DisableInterrupts(void)
-{
-#if defined(__i386__) || defined(__i386) || defined(__x86)
- if (!ExtendedEnabled && (sysi86(SI86V86, V86SC_IOPL, PS_IOPL) < 0))
- return FALSE;
-
-#ifdef __GNUC__
- __asm__ __volatile__("cli");
-#else
- asm("cli");
-#endif /* __GNUC__ */
-
- if (!ExtendedEnabled)
- sysi86(SI86V86, V86SC_IOPL, 0);
-#endif /* i386 */
-
- return TRUE;
-}
-
-_X_EXPORT void
-xf86EnableInterrupts(void)
-{
-#if defined(__i386__) || defined(__i386) || defined(__x86)
- if (!ExtendedEnabled && (sysi86(SI86V86, V86SC_IOPL, PS_IOPL) < 0))
- return;
-
-#ifdef __GNUC__
- __asm__ __volatile__("sti");
-#else
- asm("sti");
-#endif /* __GNUC__ */
-
- if (!ExtendedEnabled)
- sysi86(SI86V86, V86SC_IOPL, 0);
-#endif /* i386 */
-}