Fill debug configuration from overlay definitions in the DEBUG_SECTION. Add DEBUG_SECTION to DC232B and FSF cores. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
24 lines
489 B
C
24 lines
489 B
C
#include "cpu.h"
|
|
#include "exec-all.h"
|
|
#include "gdbstub.h"
|
|
#include "qemu-common.h"
|
|
#include "host-utils.h"
|
|
|
|
#include "core-fsf/core-isa.h"
|
|
#include "overlay_tool.h"
|
|
|
|
static const XtensaConfig fsf = {
|
|
.name = "fsf",
|
|
.options = XTENSA_OPTIONS,
|
|
/* GDB for this core is not supported currently */
|
|
.nareg = XCHAL_NUM_AREGS,
|
|
.ndepc = 1,
|
|
EXCEPTIONS_SECTION,
|
|
INTERRUPTS_SECTION,
|
|
TLB_SECTION,
|
|
DEBUG_SECTION,
|
|
.clock_freq_khz = 10000,
|
|
};
|
|
|
|
REGISTER_CORE(fsf)
|