diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
commit | 990d19fd6d925da5856de50fd84d8656e762b83c (patch) | |
tree | 78a21bfb29c4d0d4f10900714b098fb437695125 /sim/bfin/dv-bfin_cec.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | gdb-990d19fd6d925da5856de50fd84d8656e762b83c.zip gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2 |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_cec.c')
-rw-r--r-- | sim/bfin/dv-bfin_cec.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sim/bfin/dv-bfin_cec.c b/sim/bfin/dv-bfin_cec.c index 88fe9dd..8e8912b 100644 --- a/sim/bfin/dv-bfin_cec.c +++ b/sim/bfin/dv-bfin_cec.c @@ -39,7 +39,8 @@ struct bfin_cec #define mmr_base() offsetof(struct bfin_cec, evt_override) #define mmr_offset(mmr) (offsetof(struct bfin_cec, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "EVT_OVERRIDE", "IMASK", "IPEND", "ILAT", "IPRIO", }; #define mmr_name(off) mmr_names[(off) / 4] @@ -127,7 +128,8 @@ bfin_cec_io_read_buffer (struct hw *me, void *dest, return nr_bytes; } -static const struct hw_port_descriptor bfin_cec_ports[] = { +static const struct hw_port_descriptor bfin_cec_ports[] = +{ { "emu", IVG_EMU, 0, input_port, }, { "rst", IVG_RST, 0, input_port, }, { "nmi", IVG_NMI, 0, input_port, }, @@ -210,7 +212,8 @@ const struct hw_descriptor dv_bfin_cec_descriptor[] = { {NULL, NULL}, }; -static const char * const excp_decoded[] = { +static const char * const excp_decoded[] = +{ [VEC_SYS ] = "Custom exception 0 (system call)", [VEC_EXCPT01 ] = "Custom exception 1 (software breakpoint)", [VEC_EXCPT02 ] = "Custom exception 2 (KGDB hook)", |