Searched refs:patch_byte (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/i386/ |
H A D | vapic.c | 386 static void patch_byte(X86CPU *cpu, target_ulong addr, uint8_t byte) in patch_byte() function 396 patch_byte(cpu, ip, 0xe8); /* call near */ in patch_call() 418 patch_byte(x86_cpu, ip, 0x50 + modrm_reg(opcode[1])); /* push reg */ in do_patch_instruction() 422 patch_byte(x86_cpu, ip, 0x90); in do_patch_instruction() 432 patch_byte(x86_cpu, ip, 0x68); /* push imm32 */ in do_patch_instruction() 438 patch_byte(x86_cpu, ip, 0x50); /* push eax */ in do_patch_instruction() 689 patch_byte(cpu, env->eip - 2, 0x66); in vapic_write() 690 patch_byte(cpu, env->eip - 1, 0x90); in vapic_write()
|