Changeset 1437 for trunk/include/odinwrap.h
- Timestamp:
- Oct 25, 1999, 5:04:37 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/odinwrap.h
r595 r1437 1 /* $Id: odinwrap.h,v 1.1 0 1999-08-20 09:56:36phaller Exp $ */1 /* $Id: odinwrap.h,v 1.11 1999-10-25 15:04:37 phaller Exp $ */ 2 2 3 3 /* … … 44 44 dprintf(("%s: "#cRet" "#cName"() enter\n", \ 45 45 pszOdinDebugChannel)); \ 46 _heap_check(); \ 46 47 cRet rc = ODIN_##cName(); \ 48 _heap_check(); \ 47 49 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 48 50 pszOdinDebugChannel, \ … … 62 64 dprintf(("%s: void "#cName"() enter\n", \ 63 65 pszOdinDebugChannel)); \ 66 _heap_check(); \ 64 67 ODIN_##cName(); \ 68 _heap_check(); \ 65 69 dprintf(("%s: void "#cName"() leave\n", \ 66 70 pszOdinDebugChannel)); \ … … 80 84 pszOdinDebugChannel, \ 81 85 a1)); \ 86 _heap_check(); \ 82 87 cRet rc = ODIN_##cName(a1); \ 88 _heap_check(); \ 83 89 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 84 90 pszOdinDebugChannel, \ … … 98 104 pszOdinDebugChannel, \ 99 105 a1)); \ 106 _heap_check(); \ 100 107 ODIN_##cName(a1); \ 108 _heap_check(); \ 101 109 dprintf(("%s: void "#cName"() leave\n", \ 102 110 pszOdinDebugChannel)); \ … … 116 124 pszOdinDebugChannel, \ 117 125 a1,a2)); \ 126 _heap_check(); \ 118 127 cRet rc = ODIN_##cName(a1,a2); \ 128 _heap_check(); \ 119 129 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 120 130 pszOdinDebugChannel, \ … … 134 144 pszOdinDebugChannel, \ 135 145 a1,a2)); \ 146 _heap_check(); \ 136 147 ODIN_##cName(a1,a2); \ 148 _heap_check(); \ 137 149 dprintf(("%s: void "#cName"() leave\n", \ 138 150 pszOdinDebugChannel)); \ … … 152 164 pszOdinDebugChannel, \ 153 165 a1,a2,a3)); \ 166 _heap_check(); \ 154 167 cRet rc = ODIN_##cName(a1,a2,a3); \ 168 _heap_check(); \ 155 169 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 156 170 pszOdinDebugChannel, \ … … 170 184 pszOdinDebugChannel, \ 171 185 a1,a2,a3)); \ 186 _heap_check(); \ 172 187 ODIN_##cName(a1,a2,a3); \ 188 _heap_check(); \ 173 189 dprintf(("%s: void "#cName"() leave\n", \ 174 190 pszOdinDebugChannel)); \ … … 185 201 { \ 186 202 unsigned short sel = RestoreOS2FS(); \ 187 dprintf(("%s: void"#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh, "#t4" "#a4"=%08xh) enter\n", \203 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh, "#t4" "#a4"=%08xh) enter\n", \ 188 204 pszOdinDebugChannel, \ 189 205 a1,a2,a3,a4)); \ 206 _heap_check(); \ 190 207 cRet rc = ODIN_##cName(a1,a2,a3,a4); \ 208 _heap_check(); \ 191 209 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 192 210 pszOdinDebugChannel, \ … … 206 224 pszOdinDebugChannel, \ 207 225 a1,a2,a3,a4)); \ 226 _heap_check(); \ 208 227 ODIN_##cName(a1,a2,a3,a4); \ 228 _heap_check(); \ 209 229 dprintf(("%s: void "#cName"() leave\n", \ 210 230 pszOdinDebugChannel)); \ … … 221 241 { \ 222 242 unsigned short sel = RestoreOS2FS(); \ 223 dprintf(("%s: void"#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh" \243 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh" \ 224 244 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh) enter\n", \ 225 245 pszOdinDebugChannel, \ 226 246 a1,a2,a3,a4,a5)); \ 247 _heap_check(); \ 227 248 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5); \ 249 _heap_check(); \ 228 250 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 229 251 pszOdinDebugChannel, \ … … 244 266 pszOdinDebugChannel, \ 245 267 a1,a2,a3,a4,a5)); \ 268 _heap_check(); \ 246 269 ODIN_##cName(a1,a2,a3,a4,a5); \ 270 _heap_check(); \ 247 271 dprintf(("%s: void "#cName"() leave\n", \ 248 272 pszOdinDebugChannel)); \ … … 259 283 { \ 260 284 unsigned short sel = RestoreOS2FS(); \ 261 dprintf(("%s: void"#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \285 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 262 286 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh) enter\n", \ 263 287 pszOdinDebugChannel, \ 264 a1,a2,a3)); \ 288 a1,a2,a3,a4,a5,a6)); \ 289 _heap_check(); \ 265 290 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6); \ 291 _heap_check(); \ 266 292 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 267 293 pszOdinDebugChannel, \ … … 281 307 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh) enter\n", \ 282 308 pszOdinDebugChannel, \ 283 a1,a2,a3)); \ 309 a1,a2,a3,a4,a5,a6)); \ 310 _heap_check(); \ 284 311 ODIN_##cName(a1,a2,a3,a4,a5,a6); \ 312 _heap_check(); \ 285 313 dprintf(("%s: void "#cName"() leave\n", \ 286 314 pszOdinDebugChannel)); \ … … 297 325 { \ 298 326 unsigned short sel = RestoreOS2FS(); \ 299 dprintf(("%s: void"#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \327 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 300 328 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh) enter\n", \ 301 329 pszOdinDebugChannel, \ 302 a1,a2,a3)); \ 330 a1,a2,a3,a4,a5,a6,a7)); \ 331 _heap_check(); \ 303 332 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7); \ 333 _heap_check(); \ 304 334 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 305 335 pszOdinDebugChannel, \ … … 319 349 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh) enter\n", \ 320 350 pszOdinDebugChannel, \ 321 a1,a2,a3)); \ 351 a1,a2,a3,a4,a5,a6,a7)); \ 352 _heap_check(); \ 322 353 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7); \ 354 _heap_check(); \ 323 355 dprintf(("%s: void "#cName"() leave\n", \ 324 356 pszOdinDebugChannel)); \ … … 335 367 { \ 336 368 unsigned short sel = RestoreOS2FS(); \ 369 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 370 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 371 ", "#t8" "#a8"=%08xh) enter\n", \ 372 pszOdinDebugChannel, \ 373 a1,a2,a3,a4,a5,a6,a7,a8)); \ 374 _heap_check(); \ 375 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8); \ 376 _heap_check(); \ 377 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 378 pszOdinDebugChannel, \ 379 rc)); \ 380 SetFS(sel); \ 381 return rc; \ 382 } \ 383 \ 384 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8) 385 386 #define ODINPROCEDURE8(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8) \ 387 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8); \ 388 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8) \ 389 { \ 390 unsigned short sel = RestoreOS2FS(); \ 337 391 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 338 392 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 339 393 ", "#t8" "#a8"=%08xh) enter\n", \ 340 394 pszOdinDebugChannel, \ 341 a1,a2,a3)); \ 342 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8); \ 343 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 344 pszOdinDebugChannel, \ 345 rc)); \ 346 SetFS(sel); \ 347 return rc; \ 348 } \ 349 \ 350 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8) 351 352 #define ODINPROCEDURE8(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8) \ 353 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8); \ 354 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8) \ 355 { \ 356 unsigned short sel = RestoreOS2FS(); \ 357 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 358 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 359 ", "#t8" "#a8"=%08xh) enter\n", \ 360 pszOdinDebugChannel, \ 361 a1,a2,a3)); \ 395 a1,a2,a3,a4,a5,a6,a7,a8)); \ 396 _heap_check(); \ 362 397 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8); \ 398 _heap_check(); \ 363 399 dprintf(("%s: void "#cName"() leave\n", \ 364 400 pszOdinDebugChannel)); \ … … 379 415 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh) enter\n", \ 380 416 pszOdinDebugChannel, \ 381 a1,a2,a3)); \ 417 a1,a2,a3,a4,a5,a6,a7,a8,a9)); \ 418 _heap_check(); \ 382 419 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9); \ 420 _heap_check(); \ 383 421 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 384 422 pszOdinDebugChannel, \ … … 399 437 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh) enter\n", \ 400 438 pszOdinDebugChannel, \ 401 a1,a2,a3)); \ 439 a1,a2,a3,a4,a5,a6,a7,a8,a9)); \ 440 _heap_check(); \ 402 441 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9); \ 442 _heap_check(); \ 403 443 dprintf(("%s: void "#cName"() leave\n", \ 404 444 pszOdinDebugChannel)); \ … … 415 455 { \ 416 456 unsigned short sel = RestoreOS2FS(); \ 457 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 458 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 459 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh) enter\n", \ 460 pszOdinDebugChannel, \ 461 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10));\ 462 _heap_check(); \ 463 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \ 464 _heap_check(); \ 465 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 466 pszOdinDebugChannel, \ 467 rc)); \ 468 SetFS(sel); \ 469 return rc; \ 470 } \ 471 \ 472 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10) 473 474 #define ODINPROCEDURE10(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10) \ 475 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10); \ 476 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10) \ 477 { \ 478 unsigned short sel = RestoreOS2FS(); \ 417 479 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 418 480 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ … … 420 482 pszOdinDebugChannel, \ 421 483 a1,a2,a3)); \ 422 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \ 423 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 424 pszOdinDebugChannel, \ 425 rc)); \ 426 SetFS(sel); \ 427 return rc; \ 428 } \ 429 \ 430 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10) 431 432 #define ODINPROCEDURE10(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10) \ 433 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10); \ 434 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10) \ 435 { \ 436 unsigned short sel = RestoreOS2FS(); \ 437 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 438 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 439 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh) enter\n", \ 440 pszOdinDebugChannel, \ 441 a1,a2,a3)); \ 484 _heap_check(); \ 442 485 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); \ 486 _heap_check(); \ 443 487 dprintf(("%s: void "#cName"() leave\n", \ 444 488 pszOdinDebugChannel)); \ … … 455 499 { \ 456 500 unsigned short sel = RestoreOS2FS(); \ 501 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 502 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 503 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh, "#t11" "#a11"=%08xh) enter\n", \ 504 pszOdinDebugChannel, \ 505 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)); \ 506 _heap_check(); \ 507 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \ 508 _heap_check(); \ 509 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 510 pszOdinDebugChannel, \ 511 rc)); \ 512 SetFS(sel); \ 513 return rc; \ 514 } \ 515 \ 516 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11) 517 518 #define ODINPROCEDURE11(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11) \ 519 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11); \ 520 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11) \ 521 { \ 522 unsigned short sel = RestoreOS2FS(); \ 457 523 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 458 524 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 459 525 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh, "#t11" "#a11"=%08xh) enter\n", \ 460 526 pszOdinDebugChannel, \ 461 a1,a2,a3)); \ 462 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \ 463 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 464 pszOdinDebugChannel, \ 465 rc)); \ 466 SetFS(sel); \ 467 return rc; \ 468 } \ 469 \ 470 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11) 471 472 #define ODINPROCEDURE11(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11) \ 473 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11); \ 474 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11) \ 475 { \ 476 unsigned short sel = RestoreOS2FS(); \ 477 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 478 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 479 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh, "#t11" "#a11"=%08xh) enter\n", \ 480 pszOdinDebugChannel, \ 481 a1,a2,a3)); \ 527 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)); \ 528 _heap_check(); \ 482 529 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); \ 530 _heap_check(); \ 483 531 dprintf(("%s: void "#cName"() leave\n", \ 484 532 pszOdinDebugChannel)); \ … … 495 543 { \ 496 544 unsigned short sel = RestoreOS2FS(); \ 545 dprintf(("%s: "#cRet" "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 546 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 547 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh, "#t11" "#a11"=%08xh" \ 548 ", "#t12" "#a12"=%08xh) enter\n", \ 549 pszOdinDebugChannel, \ 550 a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)); \ 551 _heap_check(); \ 552 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \ 553 _heap_check(); \ 554 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 555 pszOdinDebugChannel, \ 556 rc)); \ 557 SetFS(sel); \ 558 return rc; \ 559 } \ 560 \ 561 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12) 562 563 #define ODINPROCEDURE12(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12) \ 564 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12); \ 565 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12) \ 566 { \ 567 unsigned short sel = RestoreOS2FS(); \ 497 568 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 498 569 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ … … 500 571 ", "#t12" "#a12"=%08xh) enter\n", \ 501 572 pszOdinDebugChannel, \ 502 a1,a2,a3)); \ 503 cRet rc = ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \ 504 dprintf(("%s: "#cRet" "#cName"() leave = %08xh\n", \ 505 pszOdinDebugChannel, \ 506 rc)); \ 507 SetFS(sel); \ 508 return rc; \ 509 } \ 510 \ 511 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12) 512 513 #define ODINPROCEDURE12(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12) \ 514 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12); \ 515 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12) \ 516 { \ 517 unsigned short sel = RestoreOS2FS(); \ 518 dprintf(("%s: void "#cName"("#t1" "#a1"=%08xh, "#t2" "#a2"=%08xh, "#t3" "#a3"=%08xh)" \ 519 ", "#t4" "#a4"=%08xh, "#t5" "#a5"=%08xh, "#t6" "#a6"=%08xh, "#t7" "#a7"=%08xh" \ 520 ", "#t8" "#a8"=%08xh, "#t9" "#a9"=%08xh, "#t10" "#a10"=%08xh, "#t11" "#a11"=%08xh" \ 521 ", "#t12" "#a12"=%08xh) enter\n", \ 522 pszOdinDebugChannel, \ 523 a1,a2,a3)); \ 573 a1,a2,a3,a4,a5,a6,a7,a8,a9,10,a11,a12)); \ 574 _heap_check(); \ 524 575 ODIN_##cName(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); \ 576 _heap_check(); \ 525 577 dprintf(("%s: void "#cName"() leave\n", \ 526 578 pszOdinDebugChannel)); \
Note:
See TracChangeset
for help on using the changeset viewer.