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/i386/i386intf.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/i386/i386intf.h')
-rw-r--r-- | src/emu/cpu/i386/i386intf.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/emu/cpu/i386/i386intf.h b/src/emu/cpu/i386/i386intf.h index 4ba18918b57..5c8d9c54195 100644 --- a/src/emu/cpu/i386/i386intf.h +++ b/src/emu/cpu/i386/i386intf.h @@ -5,9 +5,16 @@ #include "cpuintrf.h" -void i386_get_info(UINT32, cpuinfo*); -void i486_get_info(UINT32, cpuinfo*); -void pentium_get_info(UINT32, cpuinfo*); -void mediagx_get_info(UINT32, cpuinfo*); +CPU_GET_INFO( i386 ); +CPU_GET_INFO( i486 ); +CPU_GET_INFO( pentium ); +CPU_GET_INFO( mediagx ); + +#define CPU_I386 CPU_GET_INFO_NAME( i386 ) +#define CPU_I486 CPU_GET_INFO_NAME( i486 ) +#define CPU_PENTIUM CPU_GET_INFO_NAME( pentium ) +#define CPU_MEDIAGX CPU_GET_INFO_NAME( mediagx ) + + #endif /* __I386INTF_H__ */ |