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