source: trunk/src/win32k/include/log.h@ 1269

Last change on this file since 1269 was 1269, checked in by bird, 26 years ago

Changes due to Pe2Lx rewrite.

File size: 655 bytes
Line 
1/* $Id: log.h,v 1.2 1999-10-14 01:16:50 bird Exp $
2 *
3 * log - C-style logging - kprintf.
4 * Dual mode, RING0 and RING3.
5 *
6 * Copyright (c) 1998-1999 knut st. osmundsen
7 *
8 */
9
10#ifndef _log_h_
11#define _log_h_
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#define OUTPUT_COM1 0x3f8
18#define OUTPUT_COM2 0x2f8
19
20/*
21 * output macros
22 */
23#define dprintf kprintf
24#ifdef DEBUG
25 #include <stdarg.h>
26 #include "vprintf.h"
27 #define kprintf(a) printf a
28 #define kernel_printf(a) printf a, printf("\n") /* obsolete */
29#else
30 #define kprintf(a) (void)0
31 #define kernel_printf(a) (void)0
32#endif
33
34#ifdef __cplusplus
35}
36#endif
37#endif
38
Note: See TracBrowser for help on using the repository browser.