diff options
author | 2008-12-17 05:52:10 +0000 | |
---|---|---|
committer | 2008-12-17 05:52:10 +0000 | |
commit | e2ae5c7fa3248c2d4a204b298b0bf736e8f991f9 (patch) | |
tree | 452dd7fa6663ae6c0856a4d186876656f314bcd1 /src/emu/cpu/mips/r3000.h | |
parent | ab8b93e1d1ced7de5fc96148db3a0eb219d29bd0 (diff) |
From: Atari Ace [atari_ace@verizon.net]
Sent: Tuesday, December 16, 2008 12:20 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Migrate CPU defines to cpu header files
Hi mamedev,
This patch migrates all the CPU definitions into the cpu header files.
The #defines and CPU_GET_INFO declarations were added by hand to the
cpu cores in the first patch, plus a few partly related fixes to the
non-DRC cores. The second patch was produced by the attached script
which inserts all needed #includes, except for two that were added by
hand in the first patch. The first patch also removed an extra define
of N2A03_DEFAULTCLOCK that would have caused problems with the second
patch.
~aa
Diffstat (limited to 'src/emu/cpu/mips/r3000.h')
-rw-r--r-- | src/emu/cpu/mips/r3000.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/cpu/mips/r3000.h b/src/emu/cpu/mips/r3000.h index 0a55b2a1db2..de357026240 100644 --- a/src/emu/cpu/mips/r3000.h +++ b/src/emu/cpu/mips/r3000.h @@ -63,7 +63,13 @@ struct _r3000_cpu_core extern CPU_GET_INFO( r3000be ); extern CPU_GET_INFO( r3000le ); +#define CPU_R3000BE CPU_GET_INFO_NAME( r3000be ) +#define CPU_R3000LE CPU_GET_INFO_NAME( r3000le ) + extern CPU_GET_INFO( r3041be ); extern CPU_GET_INFO( r3041le ); +#define CPU_R3041BE CPU_GET_INFO_NAME( r3041be ) +#define CPU_R3041LE CPU_GET_INFO_NAME( r3041le ) + #endif /* __R3000_H__ */ |