summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emu.mak
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-13 06:59:57 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-13 06:59:57 +0000
commit63d10ee9bfbb5bc4adb2754a6b0fa790ea0a2851 (patch)
tree99e2b37ce2640e230780a124c7b7743674b7cf33 /src/emu/emu.mak
parent451a03ff700ed296c16df3620b25042a449cc68f (diff)
Massive API cleanup/change. The primary goal is that all CPU-
related APIs now take a device pointer instead of an index. All functions that take a CPU device are prefixed with cpu_* All functions that are globally related to cpu execution are prefixed with cpuexec_*. Below is a list of some of the mappings: cpu_boost_interleave -> cpuexec_boost_interleave cpunum_suspend -> cpu_suspend cpunum_resume -> cpu_resume cpunum_is_suspended -> cpu_is_suspended cpunum_get_clock -> cpu_get_clock cpunum_set_clock -> cpu_set_clock cpunum_get_clockscale -> cpu_get_clockscale cpunum_set_clockscale -> cpu_set_clockscale cpunum_get_localtime -> cpu_get_local_time cpunum_gettotalcycles -> cpu_get_total_cycles activecpu_eat_cycles -> cpu_eat_cycles activecpu_adjust_icount -> cpu_adjust_icount cpu_trigger -> cpuexec_trigger cpu_triggertime -> cpuexec_triggertime cpunum_set_input_line -> cpu_set_input_line cpunum_set_irq_callback -> cpu_set_irq_callback In addition, a number of functions retain the same name but now require a specific CPU parameter to be passed in: cpu_yield cpu_spin cpu_spinuntil_time cpu_spinuntil_int cpu_spinuntil_trigger cpu_triggerint Merged cpuint.c into cpuexec.c. One side-effect of this change is that driver reset callbacks are called AFTER the CPUs and devices are reset. This means that if you make changes to the CPU state and expect the reset vectors to recognize the changes in your reset routine, you will need to manually reset the CPU after making the change (since it has already been reset). Added a number of inline helper functions to cpuintrf.h for managing addresses Removed cpu_gettotalcpu(). This information is rarely needed outside of the core and can be obtained by looking at the machine->cpu[] array. Changed CPU interrupt acknowledge callbacks to pass a CPU device instead of machine/cpunum pair. Changed VBLANK and periodic timer callbacks to pass a CPU device instead of machine/cpunum pair. Renamed all information getters from cpu_* to cpu_get_* and from cputype_* to cputype_get_*.
Diffstat (limited to 'src/emu/emu.mak')
-rw-r--r--src/emu/emu.mak1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/emu/emu.mak b/src/emu/emu.mak
index 09031760fe7..2deb5aba128 100644
--- a/src/emu/emu.mak
+++ b/src/emu/emu.mak
@@ -42,7 +42,6 @@ EMUOBJS = \
$(EMUOBJ)/clifront.o \
$(EMUOBJ)/config.o \
$(EMUOBJ)/cpuexec.o \
- $(EMUOBJ)/cpuint.o \
$(EMUOBJ)/cpuintrf.o \
$(EMUOBJ)/crsshair.o \
$(EMUOBJ)/debugger.o \