30688c0b5257b9e1b326c3176e2a975bade3bc17
[framework/uifw/xorg/server/xorg-server.git] / hw / xfree86 / os-support / shared / ioperm_noop.c
1 /*
2  * Copyright 1993 by David Wexelblat <dwex@XFree86.org>
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and its
5  * documentation for any purpose is hereby granted without fee, provided that
6  * the above copyright notice appear in all copies and that both that
7  * copyright notice and this permission notice appear in supporting
8  * documentation, and that the name of David Wexelblat not be used in
9  * advertising or publicity pertaining to distribution of the software without
10  * specific, written prior permission.  David Wexelblat makes no representations
11  * about the suitability of this software for any purpose.  It is provided
12  * "as is" without express or implied warranty.
13  *
14  * DAVID WEXELBLAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16  * EVENT SHALL DAVID WEXELBLAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20  * PERFORMANCE OF THIS SOFTWARE.
21  *
22  */
23
24 /*
25  * Some platforms don't bother with I/O permissions, 
26  * or the permissions are implicit with opening/enabling the console.
27  */
28
29 #ifdef HAVE_XORG_CONFIG_H
30 #include <xorg-config.h>
31 #endif
32
33 #include <X11/X.h>
34 #include "xf86.h"
35 #include "xf86Priv.h"
36 #include "xf86_OSlib.h"
37
38 Bool
39 xf86EnableIO()
40 {
41     return TRUE;
42 }
43
44 void
45 xf86DisableIO()
46 {
47     return;
48 }