Changeset 4108 for branches/GRACE/src
- Timestamp:
- Aug 29, 2000, 12:44:25 AM (25 years ago)
- Location:
- branches/GRACE/src/win32k
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/dev16/probkrnl.c
r4073 r4108 1 /* $Id: probkrnl.c,v 1.20.4.1 0 2000-08-23 04:25:42bird Exp $1 /* $Id: probkrnl.c,v 1.20.4.11 2000-08-28 22:44:19 bird Exp $ 2 2 * 3 3 * Description: Autoprobes the os2krnl file and os2krnl[*].sym files. … … 126 126 {FALSE, -1, 10, "ptda_start", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 35 */ 127 127 {FALSE, -1, 12, "ptda_environ", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 36 */ 128 {FALSE, -1, 11, "ptda_module", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 37 */ 129 {FALSE, -1, 18, "ptda_pBeginLIBPATH", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 38 */ 130 {FALSE, -1, 16, "_ldrpFileNameBuf", -1, -1, -1, -1, EPT_VARIMPORT32}, /* 39 */ 128 {FALSE, -1, 12, "ptda_ptdasem", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 37 */ 129 {FALSE, -1, 11, "ptda_module", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 38 */ 130 {FALSE, -1, 18, "ptda_pBeginLIBPATH", -1, -1, -1, -1, EPT_VARIMPORT16}, /* 39 */ 131 {FALSE, -1, 16, "_ldrpFileNameBuf", -1, -1, -1, -1, EPT_VARIMPORT32}, /* 40 */ 131 132 132 133 }; … … 1677 1678 int i; 1678 1679 1679 printf16("/* $Id: probkrnl.c,v 1.20.4.1 0 2000-08-23 04:25:42bird Exp $\n"1680 printf16("/* $Id: probkrnl.c,v 1.20.4.11 2000-08-28 22:44:19 bird Exp $\n" 1680 1681 "*\n" 1681 1682 "* Autogenerated kernel symbol database.\n" -
branches/GRACE/src/win32k/dev32/d32init.c
r4072 r4108 1 /* $Id: d32init.c,v 1.19.4.1 0 2000-08-23 04:23:33bird Exp $1 /* $Id: d32init.c,v 1.19.4.11 2000-08-28 22:44:21 bird Exp $ 2 2 * 3 3 * d32init.c - 32-bits init routines. … … 1177 1177 0, /* 37 */ 1178 1178 0, /* 38 */ 1179 0 /* 39 */ 1179 0, /* 39 */ 1180 0 /* 40 */ 1180 1181 }; 1181 1182 int i; … … 1465 1466 {(unsigned)&fakeptda_start, 4}, 1466 1467 {(unsigned)&fakeptda_environ, 4}, 1468 {(unsigned)&fakeptda_ptdasem, 4}, 1467 1469 {(unsigned)&fakeptda_module, 4}, 1468 {(unsigned)&fakeptda_ module,4},1470 {(unsigned)&fakeptda_pBeginLIBPATH, 4}, 1469 1471 {(unsigned)&fakeldrpFileNameBuf, 3} 1470 1472 }; -
branches/GRACE/src/win32k/include/OS2KPTDA.h
r4018 r4108 1 /* $Id: OS2KPTDA.h,v 1.1.2. 1 2000-08-15 07:03:25bird Exp $1 /* $Id: OS2KPTDA.h,v 1.1.2.2 2000-08-28 22:44:22 bird Exp $ 2 2 * 3 3 * PTDA access functions. … … 54 54 55 55 56 USHORT ptdaGet_ptda_environ(PPTDA pPTDA); 57 USHORT ptdaGet_ptda_module(PPTDA pPTDA); 56 USHORT ptdaGet_ptda_environ(PPTDA pPTDA); 57 USHORT ptdaGet_ptda_module(PPTDA pPTDA); 58 HKSEMMTX ptda_ptda_ptdasem(PPTDA pPTDA); 58 59 59 60 #ifdef __cplusplus -
branches/GRACE/src/win32k/include/OS2KSEM.h
r4073 r4108 1 /* $Id: OS2KSEM.h,v 1.1.2. 2 2000-08-23 04:25:44bird Exp $1 /* $Id: OS2KSEM.h,v 1.1.2.3 2000-08-28 22:44:22 bird Exp $ 2 2 * 3 3 * OS/2 kernel Semaphore functions. … … 16 16 * Defined Constants And Macros * 17 17 *******************************************************************************/ 18 #define KSEM_INDEFINITE_WAIT -1 L19 #define KSEM_IMMEDIATE_RETURN 0 L18 #define KSEM_INDEFINITE_WAIT -1UL 19 #define KSEM_IMMEDIATE_RETURN 0UL 20 20 21 21 /* -
branches/GRACE/src/win32k/include/probkrnl.h
r4068 r4108 1 /* $Id: probkrnl.h,v 1.13.4. 7 2000-08-22 03:00:20bird Exp $1 /* $Id: probkrnl.h,v 1.13.4.8 2000-08-28 22:44:23 bird Exp $ 2 2 * 3 3 * Include file for ProbKrnl. … … 16 16 * Defined Constants And Macros * 17 17 *******************************************************************************/ 18 #define NBR_OF_KRNLIMPORTS 4 0/* When this is changed make sure to */18 #define NBR_OF_KRNLIMPORTS 41 /* When this is changed make sure to */ 19 19 /* update the arrays in d32init.c and */ 20 /* probkrnl.c */ 20 /* probkrnl.c, make test faker in */ 21 /* test.h and the appropriate fake.c */ 22 /* fakea.asm. */ 21 23 #define MAX_LENGTH_NAME 32 /* Max length for the function. */ 22 24 -
branches/GRACE/src/win32k/include/test.h
r4070 r4108 1 /* $Id: test.h,v 1.1.4. 6 2000-08-23 04:14:58bird Exp $1 /* $Id: test.h,v 1.1.4.7 2000-08-28 22:44:23 bird Exp $ 2 2 * 3 3 * Definitions and declarations for test moduls. … … 117 117 extern char fakeptda_start; 118 118 extern USHORT fakeptda_environ; 119 extern KSEMMTX fakeptda_ptdasem; 119 120 extern HMTE fakeptda_module; 120 121 extern PSZ fakeldrpFileNameBuf; -
branches/GRACE/src/win32k/ldr/myldrOpen.cpp
r4103 r4108 1 /* $Id: myldrOpen.cpp,v 1.10.4. 7 2000-08-28 11:31:45bird Exp $1 /* $Id: myldrOpen.cpp,v 1.10.4.8 2000-08-28 22:44:24 bird Exp $ 2 2 * 3 3 * myldrOpen - ldrOpen. … … 583 583 && isLdrStateLoadingEXE() 584 584 && (isLdrStateQAppType() || isLdrStateExecPgm()) 585 && (stricmp(psz2, ".RX") == 0 || stricmp(psz2, ".REX") )585 && (stricmp(psz2, ".RX") == 0 || stricmp(psz2, ".REX") == 0) 586 586 ) 587 587 { -
branches/GRACE/src/win32k/misc/OS2KPTDA.c
r4025 r4108 1 /* $Id: OS2KPTDA.c,v 1.1.2. 2 2000-08-17 08:23:35bird Exp $1 /* $Id: OS2KPTDA.c,v 1.1.2.3 2000-08-28 22:44:24 bird Exp $ 2 2 * 3 3 * PTDA access functions. … … 9 9 */ 10 10 11 /******************************************************************************* 12 * Defined Constants And Macros * 13 *******************************************************************************/ 14 #define INCL_OS2KRNL_SEM 15 #define INCL_OS2KRNL_PTDA 11 16 12 17 /******************************************************************************* … … 14 19 *******************************************************************************/ 15 20 #include <os2.h> 16 #include <OS2K PTDA.h>21 #include <OS2Krnl.h> 17 22 18 23 … … 28 33 extern ULONG pptda_start; 29 34 extern ULONG pptda_environ; 35 extern ULONG pptda_ptdasem; 30 36 extern ULONG pptda_module; 31 37 … … 55 61 56 62 63 /** 64 * Gets the ptda_ptdasem PTDA member. This member holds the intra-process semaphore which 65 * for example is used to serialize _LDRQAppType. 66 * @returns Content of the pPTDA->ptda_ptdasem member. 67 * @param pPTDA PTDA Pointer. (NULL is not allowed!) 68 */ 69 HKSEMMTX ptda_ptda_ptdasem(PPTDA pPTDA) 70 { 71 return (HKSEMMTX)(void*)(((char*)(void*)pPTDA) + (pptda_ptdasem - pptda_start)); 72 } 57 73 58 74
Note:
See TracChangeset
for help on using the changeset viewer.