Adding option for __arm.

Remains to be seen if the values inside are appropriate for ARM...
This commit is contained in:
Luis Ibanez 2012-12-24 15:40:12 -05:00
parent de89d5ae3f
commit 94d996f81e
1 changed files with 8 additions and 0 deletions

View File

@ -153,6 +153,14 @@ void dyncall();
# endif
#endif /* __ia64 */
#ifdef __arm
/* Must investigate real values for ARM and Raspberry Pi */
#define CACHELINE_SIZE 32
#define MSYNC_ADDR_INCS OS_PAGE_SIZE
#undef BIGENDIAN
typedef char mach_inst; /* machine instruction */
#endif /* __arm */
#ifdef __i386
/* Through Pentium Pro/II/III, should use CPUID to get real value perhaps */
#define CACHELINE_SIZE 32