Ignore:
Timestamp:
Jan 22, 2000, 7:21:03 PM (26 years ago)
Author:
bird
Message:

Temporary backup checkin.

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:28 bird Exp $
     1/* $Id: vprintf.c,v 1.7 2000-01-22 18:21:03 bird Exp $
    22 *
    33 * vprintf and printf
     
    488488        {
    489489            #ifdef RING0
     490                #pragma info(noeff)
    490491                while (!(_inp(options.usCom + 5) & 0x20));  /* Waits for the port to be ready. */
    491492                _outp(options.usCom, chReturn);             /* Put the char. */
     493                #pragma info(restore)
    492494            #else
    493495                DosWrite(1, (void*)&chReturn, 1, &ulWrote);
     
    495497        }
    496498        #ifdef RING0
     499            #pragma info(noeff)
    497500            while (!(_inp(options.usCom + 5) & 0x20));  /* Waits for the port to be ready. */
    498501            _outp(options.usCom, ch);                   /* Put the char. */
     502            #pragma info(restore)
    499503            Yield();
    500504        #else
     
    528532            for (ul = 0; ul < cch; ul++)
    529533            {
     534                #pragma info(noeff)
    530535                while (!(_inp(options.usCom + 5) & 0x20));  /* Waits for the port to be ready. */
    531536                _outp(options.usCom, psz[ul]);              /* Put the char. */
     537                #pragma info(restore)
    532538            }
    533539        #else
     
    541547            {
    542548            #ifdef RING0
     549                #pragma info(noeff)
    543550                while (!(_inp(options.usCom + 5) & 0x20));  /* Waits for the port to be ready. */
    544551                _outp(options.usCom, chReturn);             /* Put the char. */
     
    546553                _outp(options.usCom, chNewLine);            /* Put the char. */
    547554                cchYield ++;
     555                #pragma info(restore)
    548556            #else
    549557                DosWrite(1, (void*)&chReturn, 1, &ul);
Note: See TracChangeset for help on using the changeset viewer.