tkernel_2/include/sys/sysdepend/tef_em1d/machine_depend.h | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)machine_depend.h (sys/EM1-D512) 17: * 18: * Machine type definition 19: */ 20: 21: #ifndef __SYS_MACHINE_DEPEND_H__ 22: #define __SYS_MACHINE_DEPEND_H__ 23: 24: /* 25: * CPU_xxxx CPU type 26: * ALLOW_MISALIGN 1 if access to misalignment data is allowed 27: * BIGENDIAN 1 if big endian 28: * VIRTUAL_ADDRESS 1 if virtual memory 29: * ALLOCA_NOSPT 1 if alloca() is not supported 30: */ 31: 32: /* ----- T-Engine Reference Board EM1-D512 definition ----- */ 33: #undef _TEF_EM1D_ 34: 35: #define _TEF_EM1D_ 1 36: #define CPU_ARM1176 1 37: #define CPU_ARMv6 1 38: #define CPU_ARM 1 39: #define TEF_EM1D 1 40: #define ALLOW_MISALIGN 0 41: #define BIGENDIAN 0 42: #define VIRTUAL_ADDRESS 1 43: #define ALLOCA_NOSPT 0 44: 45: #ifndef _Csym 46: #define _Csym 0 47: #endif 48: 49: #endif /* __SYS_MACHINE_DEPEND_H__ */