Move the JIT registration logic in its own file

Move the JITed function/basic-block registration logic out of the CPU
subsystem in order to add JIT registration to JITed DSP and
Video/VertexLoader code.

This necessary in order to add /tmp/perf-$pid.map support to other
JITed code as they need to write to the same file.
This commit is contained in:
Gabriel Corona
2014-10-31 20:12:54 +01:00
parent cdce5ace25
commit 9722ae2a5d
6 changed files with 138 additions and 75 deletions

View File

@ -0,0 +1,15 @@
// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
namespace JitRegister
{
void Init();
void Shutdown();
void Register(const void* base_address, u32 code_size,
const char* name, u32 original_address=0);
}