summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/hurd/hurd_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/hurd/hurd_video.c')
-rw-r--r--hw/xfree86/os-support/hurd/hurd_video.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/xfree86/os-support/hurd/hurd_video.c b/hw/xfree86/os-support/hurd/hurd_video.c
index 87f5e90cb..9f2e2bd01 100644
--- a/hw/xfree86/os-support/hurd/hurd_video.c
+++ b/hw/xfree86/os-support/hurd/hurd_video.c
@@ -41,7 +41,7 @@
/**************************************************************************
* Video Memory Mapping section
***************************************************************************/
-_X_EXPORT pointer
+pointer
xf86MapVidMem(int ScreenNum,int Flags, unsigned long Base, unsigned long Size)
{
mach_port_t device,iopl_dev;
@@ -95,7 +95,7 @@ xf86MapVidMem(int ScreenNum,int Flags, unsigned long Base, unsigned long Size)
return (pointer)addr;
}
-_X_EXPORT void
+void
xf86UnMapVidMem(int ScreenNum,pointer Base,unsigned long Size)
{
kern_return_t err = vm_deallocate(mach_task_self(), (int)Base, Size);
@@ -107,7 +107,7 @@ xf86UnMapVidMem(int ScreenNum,pointer Base,unsigned long Size)
return;
}
-_X_EXPORT Bool
+Bool
xf86LinearVidMem()
{
return(TRUE);
@@ -123,7 +123,7 @@ xf86LinearVidMem()
*/
extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on);
-_X_EXPORT Bool
+Bool
xf86EnableIO()
{
if (ioperm(0, 0x10000, 1)) {
@@ -135,20 +135,20 @@ xf86EnableIO()
return TRUE;
}
-_X_EXPORT void
+void
xf86DisableIO()
{
ioperm(0,0x10000,0);
return;
}
-_X_EXPORT void
+void
xf86MapReadSideEffects(int ScreenNum, int Flags, pointer Base,
unsigned long Size)
{
}
-_X_EXPORT Bool
+Bool
xf86CheckMTRR(int s)
{
return FALSE;