Changeset 1535 for trunk/src/win32k/include
- Timestamp:
- Nov 1, 1999, 12:57:09 AM (26 years ago)
- Location:
- trunk/src/win32k/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/dev32hlp.h
r847 r1535 1 /* $Id: dev32hlp.h,v 1. 1 1999-09-06 02:19:58bird Exp $1 /* $Id: dev32hlp.h,v 1.2 1999-10-31 23:57:03 bird Exp $ 2 2 * 3 3 * Dev32Hlp - 32-bit Device helpers. … … 53 53 * D32Hlp_GetDOSVar 54 54 */ 55 #define DHGETDOSV_SYSINFOSEG 1UL 56 #define DHGETDOSV_LOCINFOSEG 2UL 57 #define DHGETDOSV_VECTORSDF 4UL 58 #define DHGETDOSV_VECTORREBOOT 5UL 59 #define DHGETDOSV_YIELDFLAG 7UL 60 #define DHGETDOSV_TCYIELDFLAG 8UL 61 #define DHGETDOSV_DOSTABLES 9UL /* undocumented by IBM */ 62 #define DHGETDOSV_DOSCODEPAGE 11UL 63 #define DHGETDOSV_INTERRUPTLEV 13UL 64 #define DHGETDOSV_DEVICECLASSTABLE 14UL 65 #define DHGETDOSV_DMQSSELECTOR 15UL 66 #define DHGETDOSV_APMINFO 16UL 55 /* 0 reserved */ 56 #define DHGETDOSV_SYSINFOSEG 1 57 #define DHGETDOSV_LOCINFOSEG 2 58 /* 3 reserved */ 59 #define DHGETDOSV_VECTORSDF 4 60 #define DHGETDOSV_VECTORREBOOT 5 61 #define DHGETDOSV_YIELDFLAG 7 62 #define DHGETDOSV_TCYIELDFLAG 8 63 #define DHGETDOSV_DOSTABLES 9 /* undocumented */ 64 #define DHGETDOSV_STRP_COMMON 10 /* undocumented */ 65 #define DHGETDOSV_DOSCODEPAGE 11 66 #define DHGETDOSV_INTERRUPTLEV 13 67 #define DHGETDOSV_DEVICECLASSTABLE 14 68 #define DHGETDOSV_DMQSSELECTOR 15 69 #define DHGETDOSV_APMINFO 16 70 #define DHGETDOSV_APM_LENGTH 17 /* undocumented? */ 67 71 68 72 … … 94 98 ULONG ulOffset, 95 99 PPVOID ppvLinAddress); 96 PVOID D32HLPCALL D32Hlp_GetDOSVar(U LONG ulVarNumber, ULONGulVarMember);100 PVOID D32HLPCALL D32Hlp_GetDOSVar(USHORT ulVarNumber, USHORT ulVarMember); 97 101 VOID D32HLPCALL D32Hlp_Yield(VOID); 98 102 PVOID D32HLPCALL D32Hlp_VMAlloc(ULONG flFlags, -
trunk/src/win32k/include/malloc.h
r1467 r1535 1 /* $Id: malloc.h,v 1. 3 1999-10-27 02:02:57bird Exp $1 /* $Id: malloc.h,v 1.4 1999-10-31 23:57:04 bird Exp $ 2 2 * 3 3 * Heap. … … 46 46 #define MAXPTR _uHeapMaxPtr 47 47 48 /*#define HEAP_SIZE 0x00600000U*/ /* 10MB of heap */49 #define HEAP_SIZE 0x100000U /* 1MB of heap */50 51 48 /* HeapPointer assert - old ones... */ 52 49 #define ltasserthp(a) if (!_validptr((void*)(a))){ _ltasserthp((void*)(a), #a,__FILE__,__LINE__); return FALSE;} -
trunk/src/win32k/include/options.h
r1467 r1535 1 /* $Id: options.h,v 1. 2 1999-10-27 02:02:57bird Exp $1 /* $Id: options.h,v 1.3 1999-10-31 23:57:04 bird Exp $ 2 2 * 3 3 * Options. … … 19 19 #define KF_SMP 0x00000001UL 20 20 21 /* fPE */ 22 #define FLAGS_PE_NOT 0x00000000UL 23 #define FLAGS_PE_PE2LX 0x00000001UL 24 #define FLAGS_PE_PE 0x00000002UL 25 #define FLAGS_PE_MIXED 0x00000003UL 26 27 /* ulInfoLevel */ 28 #define INFOLEVEL_QUIET 0x00000000UL 29 #define INFOLEVEL_ERROR 0x00000001UL 30 #define INFOLEVEL_WARNING 0x00000002UL 31 #define INFOLEVEL_INFO 0x00000003UL 32 #define INFOLEVEL_INFOALL 0x00000004UL 33 21 34 /* Set defaults. */ 22 #define SET_OPTIONS_TO_DEFAULT(o) \ 23 o.fQuiet = 0; \ 24 o.usCom = OUTPUT_COM2; \ 25 o.fLogging = 0; \ 26 o.ulBuild = ~0; \ 27 o.fKernel = KF_UNI; \ 28 o.usVerMajor = ~0; \ 29 o.usVerMinor = ~0; 35 #define SET_OPTIONS_TO_DEFAULT(o) \ 36 o.fQuiet = FALSE; \ 37 o.usCom = OUTPUT_COM2; \ 38 o.fLogging = FALSE; \ 39 o.fKernel = KF_UNI; \ 40 o.ulBuild = ~0UL; \ 41 o.usVerMajor = ~0; \ 42 o.usVerMinor = ~0; \ 43 o.fPE = FLAGS_PE_PE2LX; \ 44 o.ulInfoLevel = INFOLEVEL_QUIET;\ 45 o.fElf = FALSE; \ 46 o.fScript = FALSE; \ 47 o.fNoLoader = FALSE; \ 48 o.cbHeap = 0x100000; /* 1MB */ 30 49 31 50 … … 36 55 struct options 37 56 { 38 //*************/39 57 /** @cat misc */ 40 //*************/ 41 BOOL fQuiet; /* quiet initialization */ 58 BOOL fQuiet; /* Quiet initialization. */ 59 60 /** @cat logging options */ 42 61 USHORT usCom; /* Output port no. */ 62 BOOL fLogging; /* Logging. */ 43 63 44 //************************/45 /** @cat logging options */46 //************************/47 BOOL fLogging; /* logging */48 49 //*************************/50 64 /** @cat kernel selection */ 51 //*************************/ 52 ULONG fKernel; /* smp or uni kernel */ 53 ULONG ulBuild; /* kernel build */ 65 ULONG fKernel; /* Smp or uni kernel. */ 66 ULONG ulBuild; /* Kernel build. */ 54 67 USHORT usVerMajor; /* OS/2 major ver - 20 */ 55 68 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */ 56 69 57 //******************************************************/ 58 /** @cat Options affecting the generated LX executable */ 59 //******************************************************/ 60 /* none yet... */ 70 /** @cat Options affecting the generated LX executables */ 71 BOOL fPE; /* Flags set the type of conversion. */ 72 ULONG ulInfoLevel; /* Pe2Lx InfoLevel. */ 73 74 /** @cat Options affecting the generated ELF executables */ 75 BOOL fElf; /* Elf flags. */ 76 77 /** @cat Options affecting the script executables */ 78 BOOL fScript; /* Script flags. */ 79 80 /** @cat Options affecting the script executables */ 81 BOOL fNoLoader; /* No loader stuff. */ 82 83 /** @cat Options affecting the heap. */ 84 ULONG cbHeap; /* Initial heapsize. */ 85 #if 0 86 ULONG cbHeapMax; /* Maximum heapsize. */ 87 ULONG cbHeapResident; /* Initial residentheapsize. */ 88 ULONG cbHeapMaxResident; /* Maxiumem residentheapsize. */ 89 #endif 61 90 }; 62 91 -
trunk/src/win32k/include/yield.h
r847 r1535 1 /* $Id: yield.h,v 1.1 1999-09-06 02:20:00 bird Exp $ 1 /* $Id: yield.h,v 1.2 1999-10-31 23:57:05 bird Exp $ 2 * 2 3 * Yield - conversion may take some time. So it is necessary to 3 4 * check it's time to yield the processor to other processes. … … 13 14 #endif 14 15 15 void Yield(void); 16 17 #ifdef RING0 18 BOOL Yield(void); 19 #else 20 #define Yield() FALSE 21 #endif 22 16 23 17 24 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.