root / target-xtensa / core-dc232b.c @ 53add759
History | View | Annotate | Download (571 Bytes)
1 |
#include "cpu.h" |
---|---|
2 |
#include "exec-all.h" |
3 |
#include "gdbstub.h" |
4 |
#include "qemu-common.h" |
5 |
#include "host-utils.h" |
6 |
|
7 |
#include "core-dc232b/core-isa.h" |
8 |
#include "overlay_tool.h" |
9 |
|
10 |
static const XtensaConfig dc232b = { |
11 |
.name = "dc232b",
|
12 |
.options = XTENSA_OPTIONS, |
13 |
.gdb_regmap = { |
14 |
.num_regs = 120,
|
15 |
.num_core_regs = 52,
|
16 |
.reg = { |
17 |
#include "core-dc232b/gdb-config.c" |
18 |
} |
19 |
}, |
20 |
.nareg = XCHAL_NUM_AREGS, |
21 |
.ndepc = 1,
|
22 |
EXCEPTIONS_SECTION, |
23 |
INTERRUPTS_SECTION, |
24 |
TLB_SECTION, |
25 |
.clock_freq_khz = 10000,
|
26 |
}; |
27 |
|
28 |
REGISTER_CORE(dc232b) |