Search
lxdream.org :: lxdream/src/dream.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dream.h
changeset 180:e6dcf9b65658
prev135:2b05ea3d87c1
next220:f72f8a7dff88
author nkeynes
date Sun Aug 06 09:43:03 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Add alignment checks
file annotate diff log raw
1.1 --- a/src/dream.h Sun Apr 30 01:48:38 2006 +0000
1.2 +++ b/src/dream.h Sun Aug 06 09:43:03 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dream.h,v 1.9 2006-04-30 01:48:38 nkeynes Exp $
1.6 + * $Id: dream.h,v 1.10 2006-07-02 04:59:00 nkeynes Exp $
1.7 *
1.8 * Miscellaneous application-wide declarations (mainly logging atm)
1.9 *
1.10 @@ -29,6 +29,8 @@
1.11 extern "C" {
1.12 #endif
1.13
1.14 +#define APP_NAME "lxDream"
1.15 +
1.16 /************************ Modules ********************************/
1.17 /**
1.18 * Basic module structure defining the common operations across all
1.19 @@ -38,7 +40,7 @@
1.20 char *name;
1.21 /**
1.22 * Perform all initial module setup (ie register / allocate any
1.23 - * memory required, etc). Only called once during DreamOn startup
1.24 + * memory required, etc). Only called once during system startup
1.25 */
1.26 void (*init)();
1.27 /**
1.28 @@ -108,8 +110,6 @@
1.29 #define DEBUG( ... ) emit( NULL, EMIT_DEBUG, MODULE.name, __VA_ARGS__ )
1.30 #define TRACE( ... ) emit( NULL, EMIT_TRACE, MODULE.name, __VA_ARGS__ )
1.31
1.32 -#define BIOS_PATH "../bios"
1.33 -
1.34 void fwrite_string( char *s, FILE *f );
1.35 int fread_string( char *s, int maxlen, FILE *f );
1.36 void fwrite_dump( unsigned char *buf, unsigned int length, FILE *f );
.