diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 00:07:45 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-21 00:00:00 -0500 |
commit | 6780d3731ea7c24f50f4489da53e7ca6476fca42 (patch) | |
tree | b86b0692082f107beb57eb7f5c05b2dfa4038c8c /sim/ft32/ft32-sim.h | |
parent | 6adb1071134b5ca69d512dcfaf564774096d32dd (diff) | |
download | gdb-6780d3731ea7c24f50f4489da53e7ca6476fca42.zip gdb-6780d3731ea7c24f50f4489da53e7ca6476fca42.tar.gz gdb-6780d3731ea7c24f50f4489da53e7ca6476fca42.tar.bz2 |
sim: ft32: invert sim_cpu storage
Diffstat (limited to 'sim/ft32/ft32-sim.h')
-rw-r--r-- | sim/ft32/ft32-sim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/ft32/ft32-sim.h b/sim/ft32/ft32-sim.h index 27cb81c..968ef34 100644 --- a/sim/ft32/ft32-sim.h +++ b/sim/ft32/ft32-sim.h @@ -40,4 +40,6 @@ struct ft32_cpu_state { int exception; }; +#define FT32_SIM_CPU(cpu) ((struct ft32_cpu_state *) CPU_ARCH_DATA (cpu)) + #endif /* _FT32_SIM_H_ */ |