qemu-cr16/hw/cr16c/sc14450.h
Jonas Bewig 005bf105aa
WIP
2025-04-14 09:07:59 +02:00

21 lines
443 B
C

#ifndef HW_SC14450_H
#define HW_SC14450_H
#include "target/cr16c/cpu.h"
#include "qom/object.h"
#include "hw/sysbus.h"
#define TYPE_SC14450_MCU "SC14450"
#define TYPE_SC14450S_MCU "SC14450S"
typedef struct SC14450McuState SC14450McuState;
DECLARE_INSTANCE_CHECKER(SC14450McuState, SC14450_MCU, TYPE_SC14450_MCU)
struct SC14450McuState {
SysBusDevice parent_obj;
CR16CCPU cpu;
MemoryRegion flash;
};
#endif /* HW_SC14450_H */