Import upstream u-boot 1.1.4
[u-boot.git] / board / MAI / bios_emulator / scitech / include / pm_wctl.h
1 /****************************************************************************
2 *
3 *                   SciTech OS Portability Manager 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:  Win32, OS/2
26 *
27 * Description:  Header file to define all the control codes for the DOS
28 *               and Win32 device driver API's for calling from ring 3
29 *               into the ring 0 device drivers.
30 *
31 ****************************************************************************/
32
33 /* Version function used by all drivers */
34 PMHELP_CTL_CODE(GETVER                      ,0x0000),
35
36 /* Functions used by obsolete 16-bit DOS TSR */
37 PMHELP_CTL_CODE(RDREGB                      ,0x0003),
38 PMHELP_CTL_CODE(WRREGB                      ,0x0004),
39 PMHELP_CTL_CODE(RDREGW                      ,0x0005),
40 PMHELP_CTL_CODE(WRREGW                      ,0x0006),
41 PMHELP_CTL_CODE(RDREGL                      ,0x0008),
42 PMHELP_CTL_CODE(WRREGL                      ,0x0009),
43
44 /* Functions used by obsolete WinDirect */
45 PMHELP_CTL_CODE(MAPPHYS                     ,0x000F),
46 PMHELP_CTL_CODE(GETVESABUF                  ,0x0013),
47
48 /* Functions used by PM library */
49 PMHELP_CTL_CODE(DPMIINT86                   ,0x0014),
50 PMHELP_CTL_CODE(INT86                       ,0x0015),
51 PMHELP_CTL_CODE(INT86X                      ,0x0016),
52 PMHELP_CTL_CODE(CALLREALMODE                ,0x0017),
53 PMHELP_CTL_CODE(ALLOCLOCKED                 ,0x0018),
54 PMHELP_CTL_CODE(FREELOCKED                  ,0x0019),
55 PMHELP_CTL_CODE(ENABLELFBCOMB               ,0x001A),
56 PMHELP_CTL_CODE(GETPHYSICALADDR             ,0x001B),
57 PMHELP_CTL_CODE(MALLOCSHARED                ,0x001D),
58 PMHELP_CTL_CODE(FREESHARED                  ,0x001F),
59 PMHELP_CTL_CODE(LOCKDATAPAGES               ,0x0020),
60 PMHELP_CTL_CODE(UNLOCKDATAPAGES             ,0x0021),
61 PMHELP_CTL_CODE(LOCKCODEPAGES               ,0x0022),
62 PMHELP_CTL_CODE(UNLOCKCODEPAGES             ,0x0023),
63 PMHELP_CTL_CODE(GETCALLGATE                 ,0x0024),
64 PMHELP_CTL_CODE(SETCNTPATH                  ,0x0025),
65 PMHELP_CTL_CODE(GETPDB                      ,0x0026),
66 PMHELP_CTL_CODE(FLUSHTLB                    ,0x0027),
67 PMHELP_CTL_CODE(GETPHYSICALADDRRANGE        ,0x0028),
68 PMHELP_CTL_CODE(ALLOCPAGE                   ,0x0029),
69 PMHELP_CTL_CODE(FREEPAGE                    ,0x002A),
70 PMHELP_CTL_CODE(ENABLERING3IOPL             ,0x002B),
71 PMHELP_CTL_CODE(DISABLERING3IOPL            ,0x002C),
72 PMHELP_CTL_CODE(GASETLOCALPATH              ,0x002D),
73 PMHELP_CTL_CODE(GAGETEXPORTS                ,0x002E),
74 PMHELP_CTL_CODE(GATHUNK                     ,0x002F),
75 PMHELP_CTL_CODE(SETNUCLEUSPATH              ,0x0030),