Searched refs:stack_top (Results 1 – 1 of 1) sorted by relevance
/kvm-unit-tests/x86/ |
H A D | emulator64.c | 18 unsigned long *stack_top = mem + 4096; in test_push() local 22 memset(mem, 0x55, (void *)stack_top - mem); in test_push() 33 : [stack_top]"r"(stack_top), in test_push() 37 report(stack_top[-1] == -7ul, "push $imm8"); in test_push() 38 report(stack_top[-2] == -17ul, "push %%reg"); in test_push() 39 report(stack_top[-3] == 0x123456789abcdeful, "push mem"); in test_push() 40 report(stack_top[-4] == -7070707, "push $imm"); in test_push() 46 unsigned long *stack_top = mem + 4096; in test_pop() local 50 memset(mem, 0x55, (void *)stack_top - mem); in test_pop() 64 : [val]"r"(memw), [stack_top]"r"(stack_top) in test_pop() [all …]
|