source: trunk/src/win32k/include/dev32.h@ 847

Last change on this file since 847 was 847, checked in by bird, 26 years ago

Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)

File size: 1.7 KB
Line 
1/*
2 * dev32 - header file for 32-bit part of the driver.
3 *
4 * Copyright (c) 1999 knut st. osmundsen
5 *
6 */
7#ifndef _dev32_h_
8#define _dev32_h_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/*
15 * Wrapper for declaration from dev1632.h used in this file.
16 */
17#ifndef _dev1632_h_
18 #define RP32INIT void
19 #define PKRNLOBJTABLE void *
20#endif
21
22/*
23 * Defines from reqpkt.h.
24 */
25#define MAX_DISKDD_CMD 29
26
27#define STERR 0x8000 /* Bit 15 - Error */
28#define STINTER 0x0400 /* Bit 10 - Interim character */
29#define STBUI 0x0200 /* Bit 9 - Busy */
30#define STDON 0x0100 /* Bit 8 - Done */
31#define STECODE 0x00FF /* Error code */
32#define WRECODE 0x0000
33
34#define STATUS_DONE 0x0100
35#define STATUS_ERR_UNKCMD 0x8003
36
37
38#define RPF_Int13RP 0x01 /* Int 13 Request Packet */
39#define RPF_CallOutDone 0x02 /* Int 13 Callout completed */
40#define RPF_PktDiskIOTchd 0x04 /* Disk_IO has touched this packet */
41#define RPF_CHS_ADDRESSING 0x08 /* CHS Addressing used in RBA field */
42#define RPF_Internal 0x10 /* Internal request packet command */
43#define RPF_TraceComplete 0x20 /* Trace completion flag */
44
45
46/*
47 * Function prototypes.
48 */
49#ifndef __cplusplus
50USHORT _loadds _Far32 _Pascal R0Init32(RP32INIT *pRpInit);
51USHORT _loadds _Far32 _Pascal GetOTEs32(PKRNLOBJTABLE pOTEBuf);
52USHORT _loadds _Far32 _Pascal VerifyProcTab32(void);
53#endif
54
55/*
56 * Global variables
57 */
58extern ULONG TKSSBase32;
59
60/*
61 * Macros
62 */
63#define SSToDS(a) ((PVOID)((ULONG)(a) + TKSSBase32))
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif
Note: See TracBrowser for help on using the repository browser.