mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 23:10:38 +00:00
53add759be
This is Diamond 232L Standard Core Rev.B (LE), implemented through linux/gdb overlay. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
29 lines
571 B
C
29 lines
571 B
C
#include "cpu.h"
|
|
#include "exec-all.h"
|
|
#include "gdbstub.h"
|
|
#include "qemu-common.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,
|
|
.clock_freq_khz = 10000,
|
|
};
|
|
|
|
REGISTER_CORE(dc232b)
|