2011-10-16 00:56:05 +02:00
|
|
|
#include "cpu.h"
|
|
|
|
#include "exec-all.h"
|
|
|
|
#include "gdbstub.h"
|
|
|
|
#include "host-utils.h"
|
|
|
|
|
|
|
|
#include "core-dc232b/core-isa.h"
|
|
|
|
#include "overlay_tool.h"
|
|
|
|
|
|
|
|
static const XtensaConfig dc232b = {
|
|
|
|
.name = "dc232b",
|
|
|
|
.options = XTENSA_OPTIONS,
|
|
|
|
.gdb_regmap = {
|
|
|
|
.num_regs = 120,
|
|
|
|
.num_core_regs = 52,
|
|
|
|
.reg = {
|
|
|
|
#include "core-dc232b/gdb-config.c"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
.nareg = XCHAL_NUM_AREGS,
|
|
|
|
.ndepc = 1,
|
|
|
|
EXCEPTIONS_SECTION,
|
|
|
|
INTERRUPTS_SECTION,
|
|
|
|
TLB_SECTION,
|
2012-01-13 07:10:49 +01:00
|
|
|
DEBUG_SECTION,
|
2011-10-16 00:56:05 +02:00
|
|
|
.clock_freq_khz = 10000,
|
|
|
|
};
|
|
|
|
|
|
|
|
REGISTER_CORE(dc232b)
|