- Timestamp:
- Jul 10, 2001, 7:17:37 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/dev16/mkcalltab.c
r5247 r6277 1 /* $Id: mkcalltab.c,v 1. 6 2001-02-23 02:57:52bird Exp $1 /* $Id: mkcalltab.c,v 1.7 2001-07-10 05:17:37 bird Exp $ 2 2 * 3 3 * Description: Generates the calltab.asm from aImportTab. … … 113 113 * Write Start of file. 114 114 */ 115 printf16("; $Id: mkcalltab.c,v 1. 6 2001-02-23 02:57:52bird Exp $\n"115 printf16("; $Id: mkcalltab.c,v 1.7 2001-07-10 05:17:37 bird Exp $\n" 116 116 ";\n" 117 117 "; Autogenerated calltab file.\n" … … 149 149 "IMPORT16_PROLOG EQU 08h\n" 150 150 "NRIMPORT16_PROLOG EQU 07h\n" 151 "IMPORTH16_PROLOG EQU 08h\n" 152 "IMPORTHNR16_PROLOG EQU 07h\n" 151 153 "\n" 152 154 "\n" … … 197 199 " fnname proc near\n" 198 200 " db IMPORT16_PROLOG dup(0cch)\n" 201 " fnname endp\n" 202 "endm\n" 203 "\n" 204 "; Macro which makes a function calltable entry\n" 205 "FnHybrid16Entry macro fnname\n" 206 " public fnname\n" 207 " fnname proc near\n" 208 " db IMPORTH16_PROLOG dup(0cch)\n" 199 209 " fnname endp\n" 200 210 "endm\n" … … 240 250 for (i = 0; i < NBR_OF_KRNLIMPORTS; i++) 241 251 { 242 if (!EPT16Proc(aImportTab[i]) )252 if (!EPT16Proc(aImportTab[i]) && !EPTProcImportHybrid(aImportTab[i])) 243 253 { 244 254 char *pszMacro = (aImportTab[i].fType & EPT_VARIMPORT) ? … … 291 301 if (EPT16Proc(aImportTab[i])) 292 302 { 293 294 303 printf16("FnOverload16Entry<%s>%*.s;%d\n", 295 304 aImportTab[i].achName, … … 298 307 i); 299 308 } 309 else if (EPT16ProcImportH(aImportTab[i])) 310 { 311 printf16("FnHybrid16Entry<%s>%*.s;%d\n", 312 aImportTab[i].achName, 313 45 - 2 - 17 - aImportTab[i].cchName, 314 "", 315 i); 316 } 300 317 } 301 318 … … 327 344 char * pszName = (*pszPrefix != '\0' ? &aImportTab[i].achName[1] : &aImportTab[i].achName[0]); 328 345 329 if (EPT16Proc(aImportTab[i]) )346 if (EPT16Proc(aImportTab[i]) && !EPTProcImportHybrid(aImportTab[i])) 330 347 { /* Overload procedure (Overloader function) */ 331 348 #if 1 … … 356 373 #endif 357 374 } 358 else if (!(aImportTab[i].fType & (EPT_PROCIMPORT | EPT_ VARIMPORT | EPT_NOT_REQ)))375 else if (!(aImportTab[i].fType & (EPT_PROCIMPORT | EPT_PROCIMPORTH |EPT_VARIMPORT | EPT_NOT_REQ))) 359 376 { /* Overload procedure (Overloader function) */ 360 377 printf16(" extrn %smy%s%s : NEAR\n" … … 368 385 aImportTab[i].achExtra); 369 386 } 370 else if ((aImportTab[i].fType & (EPT_NOT_REQ | EPT_VARIMPORT | EPT_PROCIMPORT )) == (EPT_NOT_REQ | EPT_PROCIMPORT))387 else if ((aImportTab[i].fType & (EPT_NOT_REQ | EPT_VARIMPORT | EPT_PROCIMPORT | EPT_PROCIMPORTH)) == (EPT_NOT_REQ | EPT_PROCIMPORT)) 371 388 { /* Not required imported function (NOP function) */ 372 389 printf16(" extrn %snop%s%s : NEAR\n" … … 408 425 * Write Start of file. 409 426 */ 410 printf16("/* $Id: mkcalltab.c,v 1. 6 2001-02-23 02:57:52bird Exp $\n"427 printf16("/* $Id: mkcalltab.c,v 1.7 2001-07-10 05:17:37 bird Exp $\n" 411 428 " *\n" 412 429 " * Autogenerated TstFakers.c file.\n"
Note:
See TracChangeset
for help on using the changeset viewer.