This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent 0ef494b681
commit aea97698c3
48 changed files with 840 additions and 798 deletions

View File

@@ -12,14 +12,14 @@
*/
#define ASSERT_EQ(reg, const) \
ldr r11, =const; \
cmp reg, r11; \
ASSERT(beq); \
cmp reg, r11; \
ASSERT(beq); \
;
/* Assert that two arrays are the same. */
#define ASSERT_MEMCMP(s1, s2, n) \
MEMCMP(s1, s2, n); \
ASSERT_EQ(r0, 0); \
MEMCMP(s1, s2, n); \
ASSERT_EQ(r0, 0); \
;
/* Store all callee saved registers, and LR in case we make further BL calls.