Fail* directories reorganized, Code-cleanup (-> coding-style), Typos+comments fixed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1321 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
63
simulators/bochs/plex86/config.h.in
Normal file
63
simulators/bochs/plex86/config.h.in
Normal file
@ -0,0 +1,63 @@
|
||||
/* our plex86 compile time configuration options will go here */
|
||||
|
||||
#ifndef _CONFIG_H_
|
||||
#define _CONFIG_H_
|
||||
|
||||
#define VERSION "Plex86 2002/07/11"
|
||||
#define BUGSMAIL "plex86-devel@mail.freesoftware.fsf.org"
|
||||
|
||||
/* Might need these for some host OS. */
|
||||
#define SIZEOF_UNSIGNED_CHAR 0
|
||||
#define SIZEOF_UNSIGNED_SHORT 0
|
||||
#define SIZEOF_UNSIGNED_INT 0
|
||||
#define SIZEOF_UNSIGNED_LONG 0
|
||||
#define SIZEOF_UNSIGNED_LONG_LONG 0
|
||||
|
||||
#if SIZEOF_UNSIGNED_CHAR != 1
|
||||
# error "sizeof (unsigned char) != 1"
|
||||
#else
|
||||
typedef unsigned char Bit8u;
|
||||
typedef signed char Bit8s;
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_SHORT != 2
|
||||
# error "sizeof (unsigned short) != 2"
|
||||
#else
|
||||
typedef unsigned short Bit16u;
|
||||
typedef signed short Bit16s;
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_INT == 4
|
||||
typedef unsigned int Bit32u;
|
||||
typedef signed int Bit32s;
|
||||
#elif SIZEOF_UNSIGNED_LONG == 4
|
||||
typedef unsigned long Bit32u;
|
||||
typedef signed long Bit32s;
|
||||
#else
|
||||
# error "can't find sizeof(type) of 4 bytes!"
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_LONG == 8
|
||||
typedef unsigned long Bit64u;
|
||||
typedef signed long Bit64s;
|
||||
#elif SIZEOF_UNSIGNED_LONG_LONG == 8
|
||||
typedef unsigned long long Bit64u;
|
||||
typedef signed long long Bit64s;
|
||||
#else
|
||||
# error "can't find data type of 8 bytes"
|
||||
#endif
|
||||
|
||||
typedef unsigned int Boolean;
|
||||
|
||||
/*
|
||||
* NetBSD just has off_t, which is 64 bits, not loff_t.
|
||||
*/
|
||||
#ifdef __NetBSD__
|
||||
typedef unsigned long long loff_t;
|
||||
#endif
|
||||
|
||||
|
||||
/* Some plex86 customization options. */
|
||||
#define ANAL_CHECKS 1
|
||||
|
||||
#endif /* _CONFIG_H_ */
|
||||
Reference in New Issue
Block a user