Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
A Dxen_vmcall_test.c23 #define ARGVALUE(x) (0xdeadbeef5a5a0000UL + x) macro
36 unsigned long rdi = ARGVALUE(1); in guest_code()
37 unsigned long rsi = ARGVALUE(2); in guest_code()
38 unsigned long rdx = ARGVALUE(3); in guest_code()
40 register unsigned long r10 __asm__("r10") = ARGVALUE(4); in guest_code()
41 register unsigned long r8 __asm__("r8") = ARGVALUE(5); in guest_code()
42 register unsigned long r9 __asm__("r9") = ARGVALUE(6); in guest_code()
119 ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
120 ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
121 ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
[all …]

Completed in 5 milliseconds