From de73a36399ab4f1440fc07ca9bd1046d8f822a8c Mon Sep 17 00:00:00 2001 From: joevt Date: Fri, 24 Nov 2023 12:23:53 -0800 Subject: [PATCH] ppcmmu: Move defines to the top. --- cpu/ppc/ppcmmu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/ppc/ppcmmu.cpp b/cpu/ppc/ppcmmu.cpp index 13985b6..3116fee 100644 --- a/cpu/ppc/ppcmmu.cpp +++ b/cpu/ppc/ppcmmu.cpp @@ -32,6 +32,9 @@ along with this program. If not, see . #include #include +//#define MMU_PROFILING // uncomment this to enable MMU profiling +//#define TLB_PROFILING // uncomment this to enable SoftTLB profiling + /* pointer to exception handler to be called when a MMU exception is occurred. */ void (*mmu_exception_handler)(Except_Type exception_type, uint32_t srr1_bits); @@ -43,9 +46,6 @@ std::function dbat_update; PPC_BAT_entry ibat_array[4] = {{0}}; PPC_BAT_entry dbat_array[4] = {{0}}; -//#define MMU_PROFILING // uncomment this to enable MMU profiling -//#define TLB_PROFILING // uncomment this to enable SoftTLB profiling - #ifdef MMU_PROFILING /* global variables for lightweight MMU profiling */