mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target: Use ArchCPU as interface to target CPU
ArchCPU is our interface with target-specific code. Use it as a forward-declared opaque pointer (abstract type), having its structure defined by each target. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220214183144.27402-15-f4bug@amsat.org>
This commit is contained in:
parent
9295b1aa92
commit
b36e239e08
22 changed files with 23 additions and 22 deletions
|
@ -143,7 +143,7 @@ typedef struct CPUArchState {
|
|||
*
|
||||
* A AVR CPU.
|
||||
*/
|
||||
struct AVRCPU {
|
||||
struct ArchCPU {
|
||||
/*< private >*/
|
||||
CPUState parent_obj;
|
||||
/*< public >*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue