00001
00016 #ifndef _ARCH_H_
00017 #define _ARCH_H_
00018
00035
00036
00037
00038
00039
00040 #include "compiler.h"
00041 #include "rwnx_config.h"
00042 #include "boot.h"
00043
00044
00045
00046
00047
00049 #define CPU_WORD_SIZE 4
00050
00051
00052
00053
00054
00056 #define CPU_LE 1
00057
00059 #define TST_SHRAM_PTR(ptr) ((((uint32_t)(ptr)) < (uint32_t)_sshram) || \
00060 (((uint32_t)(ptr)) >= (uint32_t)_eshram))
00061
00063 #define CHK_SHRAM_PTR(ptr) { if (TST_SHRAM_PTR(ptr)) return;}
00064
00065 #include "ll.h"
00066
00067
00069 #endif // _ARCH_H_