]> git.ipfire.org Git - u-boot.git/blame - board/MAI/bios_emulator/scitech/src/pm/linux/oshdr.h
* Code cleanup:
[u-boot.git] / board / MAI / bios_emulator / scitech / src / pm / linux / oshdr.h
CommitLineData
c7de829c
WD
1/****************************************************************************
2*
3* SciTech Multi-platform Graphics Library
4*
5* ========================================================================
6*
7* The contents of this file are subject to the SciTech MGL Public
8* License Version 1.0 (the "License"); you may not use this file
9* except in compliance with the License. You may obtain a copy of
10* the License at http://www.scitechsoft.com/mgl-license.txt
11*
12* Software distributed under the License is distributed on an
13* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
14* implied. See the License for the specific language governing
15* rights and limitations under the License.
16*
17* The Original Code is Copyright (C) 1991-1998 SciTech Software, Inc.
18*
19* The Initial Developer of the Original Code is SciTech Software, Inc.
20* All Rights Reserved.
21*
22* ========================================================================
23*
24* Language: ANSI C
25* Environment: Linux
26*
27* Description: Include all the OS specific header files.
28*
29****************************************************************************/
30
31#include <fcntl.h>
32#include <sys/time.h>
33#include <sys/ioctl.h>
34#include <sys/stat.h>
35#include <time.h>
36#include <linux/keyboard.h>
37#include <linux/kd.h>
38#include <linux/vt.h>
39#include <linux/fs.h>
40#ifdef USE_OS_JOYSTICK
41#include <linux/joystick.h>
42#endif
43#include <termios.h>
44#include <signal.h>
45#include <unistd.h>
46#include <ctype.h>
47#include <stdlib.h>
48
49/* Internal global variables */
50
51extern int _PM_console_fd,_PM_leds,_PM_modifiers;
52
53/* Internal function prototypes */
54
55void _PM_restore_kb_mode(void);
56void _PM_keyboard_rawmode(void);
57
58/* Linux needs the generic joystick scaling code */
59
60#define NEED_SCALE_JOY_AXIS