diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-01-07 20:56:07 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-01-07 20:56:07 +0000 |
commit | c68c2751f309103cc7116464e6c3242d54c1007b (patch) | |
tree | 22372a84b01dbfe78ba030db45ced8919bd33332 /src/target/mips32_pracc.h | |
parent | 2d450b90333b01fbd85570e5d881c3a795038744 (diff) | |
download | riscv-openocd-c68c2751f309103cc7116464e6c3242d54c1007b.zip riscv-openocd-c68c2751f309103cc7116464e6c3242d54c1007b.tar.gz riscv-openocd-c68c2751f309103cc7116464e6c3242d54c1007b.tar.bz2 |
MIPS: whitespace cleanup
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/mips32_pracc.h')
-rw-r--r-- | src/target/mips32_pracc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/target/mips32_pracc.h b/src/target/mips32_pracc.h index a914686..f8b00d0 100644 --- a/src/target/mips32_pracc.h +++ b/src/target/mips32_pracc.h @@ -27,17 +27,17 @@ #define MIPS32_PRACC_FASTDATA_AREA 0xFF200000 #define MIPS32_PRACC_FASTDATA_SIZE 16 -#define MIPS32_PRACC_TEXT 0xFF200200 -#define MIPS32_PRACC_STACK 0xFF204000 -#define MIPS32_PRACC_PARAM_IN 0xFF201000 -#define MIPS32_PRACC_PARAM_IN_SIZE 0x1000 -#define MIPS32_PRACC_PARAM_OUT (MIPS32_PRACC_PARAM_IN + MIPS32_PRACC_PARAM_IN_SIZE) -#define MIPS32_PRACC_PARAM_OUT_SIZE 0x1000 +#define MIPS32_PRACC_TEXT 0xFF200200 +#define MIPS32_PRACC_STACK 0xFF204000 +#define MIPS32_PRACC_PARAM_IN 0xFF201000 +#define MIPS32_PRACC_PARAM_IN_SIZE 0x1000 +#define MIPS32_PRACC_PARAM_OUT (MIPS32_PRACC_PARAM_IN + MIPS32_PRACC_PARAM_IN_SIZE) +#define MIPS32_PRACC_PARAM_OUT_SIZE 0x1000 #define MIPS32_FASTDATA_HANDLER_SIZE 0x80 -#define UPPER16(uint32_t) (uint32_t >> 16) -#define LOWER16(uint32_t) (uint32_t & 0xFFFF) -#define NEG16(v) (((~(v)) + 1) & 0xFFFF) +#define UPPER16(uint32_t) (uint32_t >> 16) +#define LOWER16(uint32_t) (uint32_t & 0xFFFF) +#define NEG16(v) (((~(v)) + 1) & 0xFFFF) /*#define NEG18(v) (((~(v)) + 1) & 0x3FFFF)*/ int mips32_pracc_read_mem(struct mips_ejtag *ejtag_info, |