Searched refs:guest_mem (Results 1 – 3 of 3) sorted by relevance
176 static void setup_32bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) in setup_32bit_idt() argument178 sregs->idt.base = guest_mem + ADDR_VAR_IDT; in setup_32bit_idt()217 gate.limit = guest_mem + ADDR_VAR_USER_CODE2; // entry offset in setup_32bit_idt()229 static void setup_64bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) in setup_64bit_idt() argument231 sregs->idt.base = guest_mem + ADDR_VAR_IDT; in setup_64bit_idt()240 gate.limit = guest_mem + ADDR_VAR_USER_CODE2; // entry offset in setup_64bit_idt()286 const uintptr_t guest_mem = 0; in syz_kvm_setup_cpu() local301 memreg.guest_phys_addr = guest_mem + i * page_size; in syz_kvm_setup_cpu()323 regs.rip = guest_mem + ADDR_TEXT; in syz_kvm_setup_cpu()326 sregs.gdt.base = guest_mem + ADDR_GDT; in syz_kvm_setup_cpu()[all …]
35 const uintptr_t guest_mem = 0; in syz_kvm_setup_cpu() local68 memreg.guest_phys_addr = guest_mem + i * page_size; in syz_kvm_setup_cpu()
1688 static void setup_32bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem)1690 sregs->idt.base = guest_mem + ADDR_VAR_IDT;1723 gate.limit = guest_mem + ADDR_VAR_USER_CODE2;1735 static void setup_64bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem)1737 sregs->idt.base = guest_mem + ADDR_VAR_IDT;1746 gate.limit = guest_mem + ADDR_VAR_USER_CODE2;1790 const uintptr_t guest_mem = 0;1805 memreg.guest_phys_addr = guest_mem + i * page_size;1826 regs.rip = guest_mem + ADDR_TEXT;1829 sregs.gdt.base = guest_mem + ADDR_GDT;[all …]