Lines Matching +full:0 +full:xdeadbeef

12 #define DB_VAL 0xDEADBEEF
19 * - Write 0xDEADBEEF values during system call into registers in z_impl_test_cpu_write_reg()
29 "movl $0xDEADBEEF, %%eax;\n\t" in z_impl_test_cpu_write_reg()
30 "movl $0xDEADBEEF, %%ebx;\n\t" in z_impl_test_cpu_write_reg()
31 "movl $0xDEADBEEF, %%ecx;\n\t" in z_impl_test_cpu_write_reg()
32 "movl $0xDEADBEEF, %%edx;\n\t" in z_impl_test_cpu_write_reg()
33 "movl $0xDEADBEEF, %%edi;\n\t" in z_impl_test_cpu_write_reg()
38 "movq $0xDEADBEEF, %%rax;\n\t" in z_impl_test_cpu_write_reg()
39 "movq $0xDEADBEEF, %%rcx;\n\t" in z_impl_test_cpu_write_reg()
40 "movq $0xDEADBEEF, %%rdx;\n\t" in z_impl_test_cpu_write_reg()
41 "movq $0xDEADBEEF, %%rsi;\n\t" in z_impl_test_cpu_write_reg()
42 "movq $0xDEADBEEF, %%rdi;\n\t" in z_impl_test_cpu_write_reg()
43 "movq $0xDEADBEEF, %%r8;\n\t" in z_impl_test_cpu_write_reg()
44 "movq $0xDEADBEEF, %%r9;\n\t" in z_impl_test_cpu_write_reg()
45 "movq $0xDEADBEEF, %%r10;\n\t" in z_impl_test_cpu_write_reg()
46 "movq $0xDEADBEEF, %%r11;\n\t" in z_impl_test_cpu_write_reg()
63 * the system call function writes into registers 0xDEADBEEF value
65 * if no 0xDEADBEEF value detected, that means CPU scrubbed registers
77 "\t movl %%eax,%0" : "=r"(x86_reg_val[0])); in ZTEST_USER()
79 "\t movl %%ebx,%0" : "=r"(x86_reg_val[1])); in ZTEST_USER()
81 "\t movl %%ecx,%0" : "=r"(x86_reg_val[2])); in ZTEST_USER()
83 "\t movl %%edx,%0" : "=r"(x86_reg_val[3])); in ZTEST_USER()
85 "\t movl %%edi,%0" : "=r"(x86_reg_val[4])); in ZTEST_USER()
87 for (int i = 0; i < 5; i++) { in ZTEST_USER()
89 "reg val is 0xDEADBEEF, " in ZTEST_USER()
98 "\t movq %%rax,%0" : "=r"(x86_64_reg_val[0])); in ZTEST_USER()
100 "\t movq %%rcx,%0" : "=r"(x86_64_reg_val[1])); in ZTEST_USER()
102 "\t movq %%rdx,%0" : "=r"(x86_64_reg_val[2])); in ZTEST_USER()
104 "\t movq %%rsi,%0" : "=r"(x86_64_reg_val[3])); in ZTEST_USER()
106 "\t movq %%rdi,%0" : "=r"(x86_64_reg_val[4])); in ZTEST_USER()
108 "\t movq %%r8,%0" : "=r"(x86_64_reg_val[5])); in ZTEST_USER()
110 "\t movq %%r9,%0" : "=r"(x86_64_reg_val[6])); in ZTEST_USER()
112 "\t movq %%r10,%0" : "=r"(x86_64_reg_val[7])); in ZTEST_USER()
114 "\t movq %%r11,%0" : "=r"(x86_64_reg_val[8])); in ZTEST_USER()
116 for (int i = 0; i < 9; i++) { in ZTEST_USER()
118 "register value is 0xDEADBEEF, " in ZTEST_USER()