From 9853fd56e7fa689fbaf4cc9575406c7b1edb86e5 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Tue, 28 Aug 2012 04:33:49 +0000 Subject: [PATCH] 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. --- src/microcode/confshared.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.25.1