Mercurial > hg > xemacs-beta
comparison src/m/sparc.h @ 235:85a06df23a9a r20-5b16
Import from CVS: tag r20-5b16
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:14:40 +0200 |
parents | 3bb7ccffb0c0 |
children | 57709be46d1b |
comparison
equal
deleted
inserted
replaced
234:946e7f6ce379 | 235:85a06df23a9a |
---|---|
44 | 44 |
45 /* XINT must explicitly sign-extend */ | 45 /* XINT must explicitly sign-extend */ |
46 | 46 |
47 #define EXPLICIT_SIGN_EXTEND | 47 #define EXPLICIT_SIGN_EXTEND |
48 | 48 |
49 /* Mask for address bits within a memory segment */ | |
50 | |
51 #define SEGMENT_MASK (SEGSIZ - 1) | |
52 | |
53 #if ! defined (__NetBSD__) && ! defined (__linux__) | |
54 /* This really belongs in s/sun.h. */ | |
55 | |
49 /* Data type of load average, as read out of kmem. */ | 56 /* Data type of load average, as read out of kmem. */ |
50 | 57 |
51 #define LOAD_AVE_TYPE long | 58 #define LOAD_AVE_TYPE long |
52 | 59 |
53 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 60 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
54 | 61 |
55 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 62 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
56 | |
57 /* Mask for address bits within a memory segment */ | |
58 | |
59 #define SEGMENT_MASK (SEGSIZ - 1) | |
60 | |
61 #if ! defined (__NetBSD__) && ! defined (__linux__) | |
62 /* This really belongs in s/sun.h. */ | |
63 | 63 |
64 /* Say that the text segment of a.out includes the header; | 64 /* Say that the text segment of a.out includes the header; |
65 the header actually occupies the first few bytes of the text segment | 65 the header actually occupies the first few bytes of the text segment |
66 and is counted in hdr.a_text. */ | 66 and is counted in hdr.a_text. */ |
67 | 67 |