Lines Matching +full:0 +full:x12345678
3 * Test handler for the s390x DIAGNOSE 0x0318 instruction.
11 #define ICPT_INSTRUCTION 0x04
12 #define IPA0_DIAG 0x8300
16 uint64_t diag318_info = 0x12345678; in guest_code()
18 asm volatile ("diag %0,0,0x318\n" : : "d" (diag318_info)); in guest_code()
22 * The DIAGNOSE 0x0318 instruction call must be handled via userspace. As such,
40 "Unexpected intercept code: 0x%x", run->s390_sieic.icptcode); in diag318_handler()
41 TEST_ASSERT((run->s390_sieic.ipa & 0xff00) == IPA0_DIAG, in diag318_handler()
42 "Unexpected IPA0 code: 0x%x", (run->s390_sieic.ipa & 0xff00)); in diag318_handler()
44 reg = (run->s390_sieic.ipa & 0x00f0) >> 4; in diag318_handler()
47 TEST_ASSERT(diag318_info != 0, "DIAGNOSE 0x0318 info not set"); in diag318_handler()
60 * If KVM does not support diag318, then return 0 to in get_diag318_info()
69 return 0; in get_diag318_info()