Home
last modified time | relevance | path

Searched refs:stb (Results 1 – 4 of 4) sorted by relevance

/xen/xen/arch/x86/
A Dx86_emulate.c31 #define get_stub(stb) ({ \ argument
33 ASSERT(!(stb).ptr); \
34 (stb).addr = this_cpu(stubs.addr) + STUB_BUF_SIZE / 2; \
35 memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) + \
36 ((stb).addr & ~PAGE_MASK), 0xcc, STUB_BUF_SIZE / 2); \
38 #define put_stub(stb) ({ \ argument
39 if ( (stb).ptr ) \
41 unmap_domain_page((stb).ptr); \
42 (stb).ptr = NULL; \
A Dextable.c172 : [stb] "r" (addr), "a" (tests[i].rax)); in stub_selftest()
/xen/tools/tests/x86_emulator/
A Dx86-emulate.c27 #define get_stub(stb) ({ \ argument
28 assert(!(stb).addr); \
29 (void *)((stb).addr = (uintptr_t)(stb).buf); \
31 #define put_stub(stb) ((stb).addr = 0) argument
/xen/xen/arch/x86/x86_emulate/
A Dx86_emulate.c3825 uint8_t *stb = get_stub(stub); in x86_emulate() local
3828 stb[0] = 0xc4; in x86_emulate()
3829 stb[1] = 0xe1; in x86_emulate()
3830 stb[2] = cpu_has_avx512bw ? 0xf8 : 0x78; in x86_emulate()
3831 stb[3] = 0x91; in x86_emulate()
3832 stb[4] = evex.opmsk << 3; in x86_emulate()
3834 stb[5] = 0xc3; in x86_emulate()

Completed in 22 milliseconds