X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/efea5b4edd5cc94b4ed0917ebca0efb6bb6a2f82..2768393fc00a378e42139872bf47fe02ea6f3751:/include/output.h diff --git a/include/output.h b/include/output.h index f49ef59..7964f03 100644 --- a/include/output.h +++ b/include/output.h @@ -1,7 +1,23 @@ +/* output.h + * Definitions for needed output routines + * NetWatch system management mode administration console + * + * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. + * This program is free software; you can redistribute and/or modify it under + * the terms found in the file LICENSE in the root of this source tree. + * + */ + #ifndef __OUTPUT_H #define __OUTPUT_H extern void (*output)(const char *s); extern void (*outputf)(const char *s, ...); +#if DEBUG80 +#define DBG(x) outb(0x80, x) +#else +#define DBG(x) +#endif + #endif