Changeset 2501 for trunk/src/win32k/misc/vprintf.c
- Timestamp:
- Jan 22, 2000, 7:21:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/misc/vprintf.c
r1683 r2501 1 /* $Id: vprintf.c,v 1. 6 1999-11-10 09:11:28bird Exp $1 /* $Id: vprintf.c,v 1.7 2000-01-22 18:21:03 bird Exp $ 2 2 * 3 3 * vprintf and printf … … 488 488 { 489 489 #ifdef RING0 490 #pragma info(noeff) 490 491 while (!(_inp(options.usCom + 5) & 0x20)); /* Waits for the port to be ready. */ 491 492 _outp(options.usCom, chReturn); /* Put the char. */ 493 #pragma info(restore) 492 494 #else 493 495 DosWrite(1, (void*)&chReturn, 1, &ulWrote); … … 495 497 } 496 498 #ifdef RING0 499 #pragma info(noeff) 497 500 while (!(_inp(options.usCom + 5) & 0x20)); /* Waits for the port to be ready. */ 498 501 _outp(options.usCom, ch); /* Put the char. */ 502 #pragma info(restore) 499 503 Yield(); 500 504 #else … … 528 532 for (ul = 0; ul < cch; ul++) 529 533 { 534 #pragma info(noeff) 530 535 while (!(_inp(options.usCom + 5) & 0x20)); /* Waits for the port to be ready. */ 531 536 _outp(options.usCom, psz[ul]); /* Put the char. */ 537 #pragma info(restore) 532 538 } 533 539 #else … … 541 547 { 542 548 #ifdef RING0 549 #pragma info(noeff) 543 550 while (!(_inp(options.usCom + 5) & 0x20)); /* Waits for the port to be ready. */ 544 551 _outp(options.usCom, chReturn); /* Put the char. */ … … 546 553 _outp(options.usCom, chNewLine); /* Put the char. */ 547 554 cchYield ++; 555 #pragma info(restore) 548 556 #else 549 557 DosWrite(1, (void*)&chReturn, 1, &ul);
Note:
See TracChangeset
for help on using the changeset viewer.