]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.asm
UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line
[mirror_edk2.git] / UefiCpuPkg / Library / CpuExceptionHandlerLib / X64 / ExceptionHandlerAsm.asm
index cd21ec4c90c62878788e31be7e8c1f5837f7882f..726c64a14055b0d5342b923ed78b0af4ebab94f9 100644 (file)
@@ -47,7 +47,7 @@ AsmIdtVectorEnd:
 HookAfterStubHeaderBegin:\r
     db      6ah        ; push\r
 @VectorNum:\r
-    db      0          ; 0 will be fixed \r
+    db      0          ; 0 will be fixed\r
     push    rax\r
     mov     rax, HookAfterStubHeaderEnd\r
     jmp     rax\r
@@ -89,7 +89,7 @@ HookAfterStubHeaderEnd:
 ; +    RBP              +\r
 ; +---------------------+ <-- RBP, 16-byte aligned\r
 ; The follow algorithm is used for the common interrupt routine.\r
-CommonInterruptEntry PROC PUBLIC  \r
+CommonInterruptEntry PROC PUBLIC\r
     cli\r
     pop     rax\r
     ;\r
@@ -111,7 +111,7 @@ NoErrorCode:
     ;\r
     push    [rsp]\r
     mov     qword ptr [rsp + 8], 0\r
-@@:       \r
+@@:\r
     push    rbp\r
     mov     rbp, rsp\r
     push    0             ; clear EXCEPTION_HANDLER_CONTEXT.OldIdtHandler\r
@@ -351,7 +351,7 @@ DoReturn:
     jz      DoIret\r
     push    rax\r
     mov     rax, rsp          ; save old RSP to rax\r
-    mov     rsp, [rsp + 20h]   \r
+    mov     rsp, [rsp + 20h]\r
     push    [rax + 10h]       ; save CS in new location\r
     push    [rax + 8h]        ; save EIP in new location\r
     push    [rax + 18h]       ; save EFLAGS in new location\r