]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmFuncs.S
SourceLevelDebugPkg: Clean up source files
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugAgent / DebugAgentCommon / Ia32 / AsmFuncs.S
index a6a3da6a6bfd5b49f3cd6a3169bd026ae0574ae7..30d279e80d8d3b92a3721113e21c5eaddc5f7c0a 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -235,21 +235,21 @@ NoExtrPush:
 ## insure FXSAVE/FXRSTOR is enabled in CR4...\r
 ## ... while we're at it, make sure DE is also enabled...\r
   mov     $1, %eax\r
-  pushl   %ebx                         # temporarily save value of ebx on stack \r
-  cpuid                                # use CPUID to determine if FXSAVE/FXRESTOR \r
+  pushl   %ebx                         # temporarily save value of ebx on stack\r
+  cpuid                                # use CPUID to determine if FXSAVE/FXRESTOR\r
                                        # and DE are supported\r
   popl    %ebx                         # retore value of ebx that was overwritten\r
-                                       # by CPUID \r
+                                       # by CPUID\r
   movl    %cr4, %eax\r
   pushl   %eax                         # push cr4 firstly\r
   testl   $BIT24, %edx                 # Test for FXSAVE/FXRESTOR support\r
   jz      L1\r
   orl     $BIT9, %eax                  # Set CR4.OSFXSR\r
-L1:    \r
+L1:\r
   testl   $BIT2, %edx                  # Test for Debugging Extensions support\r
   jz      L2\r
   orl     $BIT3, %eax                  # Set CR4.DE\r
-L2:    \r
+L2:\r
   movl    %eax, %cr4\r
   movl    %cr3, %eax\r
   pushl   %eax\r
@@ -322,14 +322,14 @@ L2:
                            # edx still contains result from CPUID above\r
   jz      L3\r
   .byte 0x0f, 0xae, 0x07   # fxsave [edi]\r
-L3:  \r
+L3:\r
 \r
 ## save the exception data\r
   pushl   8(%esp)\r
 \r
 ## Clear Direction Flag\r
   cld\r
-       \r
+\r
 ## Prepare parameter and call C function\r
   pushl   %esp\r
   pushl   %ebx\r
@@ -347,7 +347,7 @@ L3:
   testl   $BIT24, %edx     # Test for FXSAVE/FXRESTOR support\r
   jz      L4\r
   .byte 0x0f, 0xae, 0x0e   # fxrstor [esi]\r
-L4:  \r
+L4:\r
   addl    $512,%esp\r
 \r
 ## UINT32  Dr0, Dr1, Dr2, Dr3, Dr6, Dr7;\r
@@ -412,4 +412,4 @@ L4:
   popl    %ebp\r
   addl    $8,%esp   # skip eax\r
   iretl\r
-  \r
+\r