included setjmp()/longjump() into emulator

This commit is contained in:
Markus Fröschle
2015-02-17 16:35:30 +00:00
parent 13209134c3
commit 27951d68c4
2 changed files with 15 additions and 6 deletions

View File

@@ -111,7 +111,7 @@ struct X86EMU_regs {
uint8_t __pad[3];
};
typedef uint32_t label_t;
typedef uint32_t jmp_buf[18];
struct X86EMU
{
@@ -120,7 +120,7 @@ struct X86EMU
void *sys_private;
struct X86EMU_regs x86;
label_t exec_state;
jmp_buf exec_state;
uint64_t cur_cycles;