Home | History | Annotate | Download | only in X64

Lines Matching refs:Rsp

90 ;;        UINT64            Rdi, Rsi, Rbp, Rsp, Rbx, Rdx, Rcx, Rax;

192 ;; RSP from interrupted task
222 ;; UINT64 Rdi, Rsi, Rbp, Rsp, Rbx, Rdx, Rcx, Rax;
226 ;; NOTE: we save rsp here to prevent compiler put rip reference cause error AppRsp
228 mov rax, qword ptr [rsp][8] ; save vector number
231 add rsp, 8 ; pop vector number
232 mov AppRsp, rsp ; save stack top
233 mov rsp, offset DebugStackBegin ; switch to debugger stack
234 sub rsp, 8 ; leave space for vector number
236 ;; UINT64 Rdi, Rsi, Rbp, Rsp, Rbx, Rdx, Rcx, Rax;
250 push rsp
293 ;; The "push" above pushed the debug stack rsp. Since what we're actually doing
295 ;; debug RSP, and replace it with the application's last stack entry...
296 mov rax, [rsp + 24]
300 ; application stack has ss, rsp, rflags, cs, & rip, so
303 mov [rsp + 24], rax
332 sidt fword ptr [rsp]
335 sgdt fword ptr [rsp]
389 sub rsp, 512
390 mov rdi, rsp
392 ; insure that rsp and rdi are 16 byte aligned when we get here.
405 mov rdx, rsp
407 sub rsp, 40
409 add rsp, 40
413 add rsp, 8
416 mov rsi, rsp
418 add rsp, 512
430 add rsp, 8
437 add rsp, 8
454 add rsp, 48
481 ;; The value of RSP as stored in the context record is the application RSP
486 mov rbx, [rsp + 24] ; move the potentially modified AppRsp into rbx
502 mov rcx, [rax + 24] ; RSP
513 mov [rsp + 24], rax
527 mov rax, rsp
541 ;; UINT64 Rdi, Rsi, Rbp, Rsp, Rbx, Rdx, Rcx, Rax;
546 pop rsp
561 mov rsp, AppRsp
567 ;; UINT64 Rdi, Rsi, Rbp, Rsp, Rbx, Rdx, Rcx, Rax;
572 pop rsp
587 mov rsp, AppRsp