Mercurial > hg > xemacs-beta
diff src/m/powerpc.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | a86b2b5e0111 |
children |
line wrap: on
line diff
--- a/src/m/powerpc.h Mon Aug 13 11:19:22 2007 +0200 +++ b/src/m/powerpc.h Mon Aug 13 11:20:41 2007 +0200 @@ -43,6 +43,10 @@ # endif #endif +/* XINT must explicitly sign-extend */ + +#define EXPLICIT_SIGN_EXTEND + #ifndef __linux__ /* Data type of load average, as read out of kmem. */ @@ -62,12 +66,32 @@ #define NO_REMAP +#if 0 +#define TEXT_START 0x00001000 +#define TEXT_END 0 +#define DATA_START 0x01000000 +#define DATA_END 0 + +/* The data segment in this machine always starts at address 0x10000000. + An address of data cannot be stored correctly in a Lisp object; + we always lose the high bits. We must tell XPNTR to add them back. */ + +#define DATA_SEG_BITS 0x10000000 +#endif + /* Use type int rather than a union, to represent Lisp_Object */ /* #define NO_UNION_TYPE */ #ifdef CANNOT_DUMP +/* Define shared memory segment symbols */ +#define PURE_SEG_BITS 0x30000000 + +/* Use shared memory. */ +/* This is turned off because it does not always work. See etc/AIX.DUMP. */ +/* #define HAVE_SHM */ +#define SHMKEY 5305035 /* used for shared memory code segments */ #endif /* CANNOT_DUMP */ #define N_BADMAG(x) BADMAG(x)