Home
last modified time | relevance | path

Searched refs:stub_va (Results 1 – 3 of 3) sorted by relevance

/xen/xen/arch/x86/x86_64/
A Dtraps.c271 unsigned char *stub, unsigned long stub_va, in write_stub_trampoline() argument
294 *(int32_t *)&stub[25] = target_va - (stub_va + 29); in write_stub_trampoline()
308 unsigned long stub_va = this_cpu(stubs.addr); in subarch_percpu_traps_init() local
326 wrmsrl(MSR_LSTAR, stub_va); in subarch_percpu_traps_init()
327 offset = write_stub_trampoline(stub_page + (stub_va & ~PAGE_MASK), in subarch_percpu_traps_init()
328 stub_va, stack_bottom, in subarch_percpu_traps_init()
330 stub_va += offset; in subarch_percpu_traps_init()
341 wrmsrl(MSR_CSTAR, stub_va); in subarch_percpu_traps_init()
342 offset += write_stub_trampoline(stub_page + (stub_va & ~PAGE_MASK), in subarch_percpu_traps_init()
343 stub_va, stack_bottom, in subarch_percpu_traps_init()
/xen/xen/arch/x86/
A Dsmpboot.c633 unsigned long stub_va; in alloc_stub_page() local
652 stub_va = XEN_VIRT_END - FIXADDR_X_SIZE - (cpu + 1) * PAGE_SIZE; in alloc_stub_page()
653 if ( map_pages_to_xen(stub_va, page_to_mfn(pg), 1, in alloc_stub_page()
658 stub_va = 0; in alloc_stub_page()
663 return stub_va; in alloc_stub_page()
/xen/xen/arch/x86/pv/
A Demul-priv-op.c93 unsigned long stub_va = this_stubs->addr + STUB_BUF_SIZE / 2; in io_emul_stub_setup() local
101 long disp = (long)(f) - (stub_va + p - ctxt->io_emul_stub + 5); \ in io_emul_stub_setup()
109 map_domain_page(_mfn(this_stubs->mfn)) + (stub_va & ~PAGE_MASK); in io_emul_stub_setup()
142 return (void *)stub_va; in io_emul_stub_setup()

Completed in 10 milliseconds