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

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

Corrections to make win32k work.
(And now it does work, at least at my test machine...)

File size: 643 bytes
Line 
1/* $Id: log.h,v 1.3 1999-10-27 02:02:56 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 * Project Odin Software License can be found in LICENSE.TXT
9 *
10 */
11
12#ifndef _log_h_
13#define _log_h_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/*
20 * COM-Port port numbers.
21 */
22#define OUTPUT_COM1 0x3f8
23#define OUTPUT_COM2 0x2f8
24
25
26/*
27 * output macros
28 */
29#define dprintf kprintf
30#ifdef DEBUG
31 #include <stdarg.h>
32 #include "vprintf.h"
33 #define kprintf(a) printf a
34#else
35 #define kprintf(a) (void)0
36#endif
37
38#ifdef __cplusplus
39}
40#endif
41#endif
42
Note: See TracBrowser for help on using the repository browser.