]>
Commit | Line | Data |
---|---|---|
30b2f870 AS |
1 | /* |
2 | * Copyright (c) 2017, Impinj, Inc. | |
3 | * | |
4 | * i.MX7 GPR IP block emulation code | |
5 | * | |
6 | * Author: Andrey Smirnov <andrew.smirnov@gmail.com> | |
7 | * | |
8 | * This work is licensed under the terms of the GNU GPL, version 2 or later. | |
9 | * See the COPYING file in the top-level directory. | |
10 | */ | |
11 | ||
12 | #ifndef IMX7_GPR_H | |
13 | #define IMX7_GPR_H | |
14 | ||
15 | #include "qemu/bitops.h" | |
16 | #include "hw/sysbus.h" | |
db1015e9 | 17 | #include "qom/object.h" |
30b2f870 AS |
18 | |
19 | #define TYPE_IMX7_GPR "imx7.gpr" | |
8063396b | 20 | OBJECT_DECLARE_SIMPLE_TYPE(IMX7GPRState, IMX7_GPR) |
30b2f870 | 21 | |
db1015e9 | 22 | struct IMX7GPRState { |
30b2f870 AS |
23 | /* <private> */ |
24 | SysBusDevice parent_obj; | |
25 | ||
26 | MemoryRegion mmio; | |
db1015e9 | 27 | }; |
30b2f870 AS |
28 | |
29 | #endif /* IMX7_GPR_H */ |