diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-04 05:20:45 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-04 05:20:45 +0000 |
commit | 51be978b4329008ece5a501563ffcc4059baef8f (patch) | |
tree | b0206921c6843aafcc70b6a071d66290789fd716 /src/target/cortex_a8.h | |
parent | ce89c7bf6588c7b2800c4ca453278b6f94795130 (diff) | |
download | riscv-openocd-51be978b4329008ece5a501563ffcc4059baef8f.zip riscv-openocd-51be978b4329008ece5a501563ffcc4059baef8f.tar.gz riscv-openocd-51be978b4329008ece5a501563ffcc4059baef8f.tar.bz2 |
Matt Hsu <matt@0xlab.org> Tidy up the bit-offset operation for DSCR register
git-svn-id: svn://svn.berlios.de/openocd/trunk@2666 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/cortex_a8.h')
-rw-r--r-- | src/target/cortex_a8.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/target/cortex_a8.h b/src/target/cortex_a8.h index bb57b13..a1efe66 100644 --- a/src/target/cortex_a8.h +++ b/src/target/cortex_a8.h @@ -67,6 +67,15 @@ extern char* cortex_a8_state_strings[]; #define BRP_NORMAL 0 #define BRP_CONTEXT 1 +/* DSCR Bit offset */ +#define DSCR_CORE_HALTED 0 +#define DSCR_CORE_RESTARTED 1 +#define DSCR_EXT_INT_EN 13 +#define DSCR_HALT_DBG_MODE 14 +#define DSCR_MON_DBG_MODE 15 +#define DSCR_INSTR_COMP 24 +#define DSCR_DTR_TX_FULL 29 + typedef struct cortex_a8_brp_s { int used; |