diff options
Diffstat (limited to 'src/devices/cpu/powerpc/ppc.h')
-rw-r--r-- | src/devices/cpu/powerpc/ppc.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/devices/cpu/powerpc/ppc.h b/src/devices/cpu/powerpc/ppc.h index 0a951bd2277..7c75237e834 100644 --- a/src/devices/cpu/powerpc/ppc.h +++ b/src/devices/cpu/powerpc/ppc.h @@ -8,17 +8,17 @@ PowerPC emulator. ***************************************************************************/ - #ifndef MAME_CPU_POWERPC_PPC_H #define MAME_CPU_POWERPC_PPC_H #pragma once -#include "divtlb.h" #include "cpu/drcfe.h" #include "cpu/drcuml.h" #include "cpu/drcumlsh.h" +#include "divtlb.h" + /*************************************************************************** CONSTANTS @@ -168,14 +168,11 @@ enum downcast<ppc_device &>(*device).set_bus_frequency(_frequency); -class ppc_frontend; - - class ppc_device : public cpu_device, public device_vtlb_interface { - friend class ppc_frontend; - protected: + class frontend; + /* PowerPC flavors */ enum powerpc_flavor { @@ -535,7 +532,7 @@ protected: /* core state */ drc_cache m_cache; /* pointer to the DRC code cache */ std::unique_ptr<drcuml_state> m_drcuml; /* DRC UML generator state */ - std::unique_ptr<ppc_frontend> m_drcfe; /* pointer to the DRC front-end state */ + std::unique_ptr<frontend> m_drcfe; /* pointer to the DRC front-end state */ uint32_t m_drcoptions; /* configurable DRC options */ /* parameters for subroutines */ |