/* Blackfin Watchpoint (WP) model.
- Copyright (C) 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2010-2014 Free Software Foundation, Inc.
Contributed by Analog Devices, Inc.
This file is part of simulators.
#define mmr_offset(mmr) (offsetof(struct bfin_wp, mmr) - mmr_base())
#define mmr_idx(mmr) (mmr_offset (mmr) / 4)
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
[mmr_idx (iactl)] = "WPIACTL",
[mmr_idx (ia)] = "WPIA0", "WPIA1", "WPIA2", "WPIA3", "WPIA4", "WPIA5",
[mmr_idx (iacnt)] = "WPIACNT0", "WPIACNT1", "WPIACNT2",
attach_bfin_wp_regs (me, wp);
}
-const struct hw_descriptor dv_bfin_wp_descriptor[] = {
+const struct hw_descriptor dv_bfin_wp_descriptor[] =
+{
{"bfin_wp", bfin_wp_finish,},
{NULL, NULL},
};