mirror of
https://github.com/qemu/qemu.git
synced 2025-07-27 12:20:07 +00:00

Generated using: $ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-13-ehabkost@redhat.com> Message-Id: <20200831210740.126168-14-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
38 lines
834 B
C
38 lines
834 B
C
/*
|
|
* ARM11MPCore internal peripheral emulation.
|
|
*
|
|
* Copyright (c) 2006-2007 CodeSourcery.
|
|
* Written by Paul Brook
|
|
*
|
|
* This code is licensed under the GPL.
|
|
*/
|
|
|
|
#ifndef HW_CPU_ARM11MPCORE_H
|
|
#define HW_CPU_ARM11MPCORE_H
|
|
|
|
#include "hw/sysbus.h"
|
|
#include "hw/misc/arm11scu.h"
|
|
#include "hw/intc/arm_gic.h"
|
|
#include "hw/timer/arm_mptimer.h"
|
|
#include "qom/object.h"
|
|
|
|
#define TYPE_ARM11MPCORE_PRIV "arm11mpcore_priv"
|
|
typedef struct ARM11MPCorePriveState ARM11MPCorePriveState;
|
|
DECLARE_INSTANCE_CHECKER(ARM11MPCorePriveState, ARM11MPCORE_PRIV,
|
|
TYPE_ARM11MPCORE_PRIV)
|
|
|
|
struct ARM11MPCorePriveState {
|
|
SysBusDevice parent_obj;
|
|
|
|
uint32_t num_cpu;
|
|
MemoryRegion container;
|
|
uint32_t num_irq;
|
|
|
|
ARM11SCUState scu;
|
|
GICState gic;
|
|
ARMMPTimerState mptimer;
|
|
ARMMPTimerState wdtimer;
|
|
};
|
|
|
|
#endif
|