From: Taylor R Campbell Date: Tue, 28 Aug 2012 04:33:49 +0000 (+0000) Subject: Add cruft to confshared.h for ARM. X-Git-Tag: release-9.2.0~229 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9853fd56e7fa689fbaf4cc9575406c7b1edb86e5;p=mit-scheme.git Add cruft to confshared.h for ARM. Works on the Raspberry Pi and the BeagleBone, which seem to be, remarkably enough, the first ARM platforms on which anyone has ever tried to run MIT Scheme. --- diff --git a/src/microcode/confshared.h b/src/microcode/confshared.h index 469793be4..10f2fc91b 100644 --- a/src/microcode/confshared.h +++ b/src/microcode/confshared.h @@ -219,7 +219,8 @@ typedef enum FASL_PPC32, FASL_X86_64, FASL_PPC64, - FASL_IA64 + FASL_IA64, + FASL_ARM, } fasl_arch_t; /* Possible values for COMPILER_PROCESSOR_TYPE. This identifies the @@ -635,6 +636,11 @@ extern void win32_stack_reset (void); # define MACHINE_TYPE "ia64" # define CURRENT_FASL_ARCH FASL_IA64 #endif + +#ifdef __arm__ +# define MACHINE_TYPE "arm" +# define CURRENT_FASL_ARCH FASL_ARM +#endif #ifdef sonyrisc /* On the Sony NEWS 3250, this procedure initializes the