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 */