mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00

Convert the existing includes with sed -i ,exec/memory.h,system/memory.h,g Move the include within cpu-all.h into a !CONFIG_USER_ONLY block. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
32 lines
651 B
C
32 lines
651 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright (C) 2024 IBM Corp.
|
|
*
|
|
* IBM Flexible Service Interface Master
|
|
*/
|
|
#ifndef FSI_FSI_MASTER_H
|
|
#define FSI_FSI_MASTER_H
|
|
|
|
#include "system/memory.h"
|
|
#include "hw/qdev-core.h"
|
|
#include "hw/fsi/fsi.h"
|
|
#include "hw/fsi/cfam.h"
|
|
|
|
#define TYPE_FSI_MASTER "fsi.master"
|
|
OBJECT_DECLARE_SIMPLE_TYPE(FSIMasterState, FSI_MASTER)
|
|
|
|
#define FSI_MASTER_NR_REGS ((0x2e0 >> 2) + 1)
|
|
|
|
typedef struct FSIMasterState {
|
|
DeviceState parent;
|
|
MemoryRegion iomem;
|
|
MemoryRegion opb2fsi;
|
|
|
|
FSIBus bus;
|
|
|
|
uint32_t regs[FSI_MASTER_NR_REGS];
|
|
FSICFAMState cfam;
|
|
} FSIMasterState;
|
|
|
|
|
|
#endif /* FSI_FSI_H */
|