Ignore:
Timestamp:
Sep 2, 2000, 11:08:23 PM (25 years ago)
Author:
bird
Message:

Merged in the Grace branch. New Win32k!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/log.h

    r2898 r4164  
    1 /* $Id: log.h,v 1.4 2000-02-25 18:15:04 bird Exp $
     1/* $Id: log.h,v 1.5 2000-09-02 21:08:02 bird Exp $
    22 *
    33 * log - C-style logging - kprintf.
     
    2525#define OUTPUT_COM1 0x3f8
    2626#define OUTPUT_COM2 0x2f8
     27#define OUTPUT_COM3 0x3e8
     28#define OUTPUT_COM4 0x2e8
    2729
    2830
     
    3234#define dprintf kprintf
    3335#if defined(DEBUG) && !defined(NOLOGGING)
    34     #ifndef INCL_16
     36    #ifdef INCL_16
     37        /* 16-bit */
     38        #include "vprntf16.h"
     39        #define kprintf(a)          printf16 a
     40        #define printf this function is not used in 16-bit code! Use printf16!
     41    #else
    3542        /* 32-bit */
    3643        #include <stdarg.h>
    3744        #include "vprintf.h"
    3845        #define kprintf(a)          printf a
    39     #else
    40         /* 16-bit */
    41         #include "vprntf16.h"
    42         #define kprintf(a)          printf16 a
    4346    #endif
    4447#else
    45     #define kprintf(a)              (void)0
     48    #define kprintf(a)              ((void)0)
    4649#endif
    4750
Note: See TracChangeset for help on using the changeset viewer.