ppcmmu: Move defines to the top.

This commit is contained in:
joevt 2023-11-24 12:23:53 -08:00 committed by dingusdev
parent c9aed600b6
commit de73a36399
1 changed files with 3 additions and 3 deletions

View File

@ -32,6 +32,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <loguru.hpp>
#include <stdexcept>
//#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<void(uint32_t bat_reg)> 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 */