aboutsummaryrefslogtreecommitdiff
path: root/test9.c
diff options
context:
space:
mode:
Diffstat (limited to 'test9.c')
-rw-r--r--test9.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test9.c b/test9.c
index dc5aa41..7bd2566 100644
--- a/test9.c
+++ b/test9.c
@@ -32,11 +32,14 @@ struct early_state_t {
void main(void)
{
- testInit(20);
+ testInit(19);
#define TEST(FLD, VAL) testEqI(VAL, early_state.FLD, #FLD)
TEST(marker, 0xdeadbeaf); /* check consistency w/ init-m-test9.S */
TEST(LR, 0xffffffff);
- TEST(XPSR, 0);
+ /* XPSR is generally architecturally UNKNOWN on reset, so don't test it */
+ puts("# XPSR ");
+ puthex(early_state.XPSR);
+ putc('\n');
TEST(PRIMASK, 0);
TEST(FAULTMASK, 0);
TEST(BASEPRI, 0);