M68K support added. (#735)
* Fix for MIPS issue. * Sparc support added. * M68K support added.
This commit is contained in:
committed by
Nguyen Anh Quynh
parent
a40921ce32
commit
2695a0ffe8
@@ -20,8 +20,11 @@ static void m68k_set_pc(struct uc_struct *uc, uint64_t address)
|
||||
void m68k_release(void* ctx);
|
||||
void m68k_release(void* ctx)
|
||||
{
|
||||
TCGContext *tcg_ctx;
|
||||
int i;
|
||||
|
||||
release_common(ctx);
|
||||
TCGContext *tcg_ctx = (TCGContext *) ctx;
|
||||
tcg_ctx = (TCGContext *) ctx;
|
||||
g_free(tcg_ctx->tb_ctx.tbs);
|
||||
g_free(tcg_ctx->QREG_PC);
|
||||
g_free(tcg_ctx->QREG_SR);
|
||||
@@ -33,7 +36,6 @@ void m68k_release(void* ctx)
|
||||
g_free(tcg_ctx->QREG_DIV2);
|
||||
g_free(tcg_ctx->QREG_MACSR);
|
||||
g_free(tcg_ctx->QREG_MAC_MASK);
|
||||
int i;
|
||||
for (i = 0; i < 8; i++) {
|
||||
g_free(tcg_ctx->cpu_dregs[i]);
|
||||
g_free(tcg_ctx->cpu_aregs[i]);
|
||||
|
||||
Reference in New Issue
Block a user