Ignore:
Timestamp:
Feb 25, 2000, 7:19:24 PM (26 years ago)
Author:
bird
Message:

Symbol Database is implemented.
No scanning of the os2krnl file, the loaded image is now scaned to determin
which build, debug/retail and smp/uni.
And yet some more enhanchments like 16-bit logging.

File:
1 edited

Legend:

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

    r1467 r2898  
    1 /* $Id: log.h,v 1.3 1999-10-27 02:02:56 bird Exp $
     1/* $Id: log.h,v 1.4 2000-02-25 18:15:04 bird Exp $
    22 *
    33 * log - C-style logging - kprintf.
    44 * Dual mode, RING0 and RING3.
     5 * Dual 16 and 32 bit.
    56 *
    6  * Copyright (c) 1998-1999 knut st. osmundsen
     7 * Define NOLOGGING to disable logging for the given sourcefile or the entire system.
     8 *
     9 * Copyright (c) 1998-2000 knut st. osmundsen
    710 *
    811 * Project Odin Software License can be found in LICENSE.TXT
     
    2831 */
    2932#define dprintf kprintf
    30 #ifdef DEBUG
    31     #include <stdarg.h>
    32     #include "vprintf.h"
    33     #define kprintf(a)          printf a
     33#if defined(DEBUG) && !defined(NOLOGGING)
     34    #ifndef INCL_16
     35        /* 32-bit */
     36        #include <stdarg.h>
     37        #include "vprintf.h"
     38        #define kprintf(a)          printf a
     39    #else
     40        /* 16-bit */
     41        #include "vprntf16.h"
     42        #define kprintf(a)          printf16 a
     43    #endif
    3444#else
    35     #define kprintf(a)          (void)0
     45    #define kprintf(a)              (void)0
    3646#endif
    3747
Note: See TracChangeset for help on using the changeset viewer.