sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
authorMike Frysinger <vapier@gentoo.org>
Mon, 8 Aug 2016 05:06:49 +0000 (13:06 +0800)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Aug 2016 19:47:11 +0000 (12:47 -0700)
commit474a2d9f5f8a080e30812525729c3a8b7baa61d6
treef8b14eabb88d2bccdc21b5d4afb10846f679c836
parent752cf9131f9e0fc39f9be5c1933d2f4d5b0b5ac9
sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]

The current machs.h mixes common enums with Blackfin-specific defines.
This causes us troubles with header inclusion order such that we can't
drop the old SIM_CPU typedef (which is duplicated in common code).  By
splitting the two up, we can unwind this dependency chain, and drop the
old typedef.  It also fixes building with older gcc versions.
sim/bfin/ChangeLog
sim/bfin/arch.h [new file with mode: 0644]
sim/bfin/machs.h
sim/bfin/sim-main.h