drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / os2 / pdcos2.h
blob1c11d480eda4e7679e52cce8624cecab28cdb268
1 /* Public Domain Curses */
3 /* $Id: pdcos2.h,v 1.9 2008/08/14 06:38:35 wmcbrine Exp $ */
5 #ifdef _MSC_VER
6 # define USE_OS2_H 1 /* Use the os2.h for the compiler */
7 # define APIRET USHORT
8 #endif
10 #include <stdlib.h>
11 #include <string.h>
13 #ifdef EMXVIDEO
14 # include <sys/video.h>
15 #else
16 # define INCL_DOS
17 # define INCL_DOSMISC
18 # define INCL_WIN
19 # define INCL_VIO
20 # define INCL_KBD
21 # define INCL_MOU
22 # include <os2.h>
23 #endif
25 #include <curspriv.h>
27 #ifdef __WATCOMC__
28 # define PDCTHUNK(x) ((ptr_16)(x))
29 # ifdef __386__
30 # define SEG16 _Seg16
31 # else
32 # define SEG16
33 # endif
35 typedef void * SEG16 ptr_16;
37 #else
38 # ifdef __EMX__
39 # ifdef __INNOTEK_LIBC__
40 # define PDCTHUNK(x) ((PCH)_libc_32to16(x))
41 # else
42 # define PDCTHUNK(x) ((PCH)_emx_32to16(x))
43 # endif
44 # endif
45 #endif
47 extern unsigned char *pdc_atrtab;
48 extern int pdc_font;
50 extern void PDC_get_keyboard_info(void);
51 extern void PDC_set_keyboard_default(void);