mirror of https://github.com/l4ka/pistachio.git
- Mark caller-saved registers as clobbered before calling KDB
This commit is contained in:
parent
acf8a015f4
commit
dd07719720
|
@ -29,11 +29,11 @@
|
|||
"callq *%2 \n" \
|
||||
"popq %%rsp \n" \
|
||||
"popq %%rbp \n" \
|
||||
: "=r"(dummy), "=D"(dummy), "=r"(dummy) \
|
||||
: "=S"(dummy), "=D"(dummy), "=a"(dummy) \
|
||||
: "0"(&kdb_stack[KDB_STACK_SIZE]), \
|
||||
"1"(¶m), \
|
||||
"2"(get_kip()->kdebug_entry) \
|
||||
: "memory");
|
||||
: "memory", "rcx" , "rdx", "r8", "r9", "r10" , "r11" );
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Reference in New Issue