X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/efea5b4edd5cc94b4ed0917ebca0efb6bb6a2f82..d5d3737996d3828397e02f0f953fbc5c9e63f709:/include/output.h?ds=sidebyside 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