]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.asm
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / AsmFuncs.asm
index 28a43cfe637cc950d1689eee8ae7a376252e924c..80ee1824d6f7edac634b37a86009ba56680b369d 100644 (file)
@@ -1,15 +1,16 @@
-;******************************************************************************\r
-;*\r
-;* Copyright (c) 2006, Intel Corporation                                                         \r
-;* All rights reserved. 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
-;* http://opensource.org/licenses/bsd-license.php                                            \r
-;*                                                                                           \r
-;* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-;* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-;*\r
-;******************************************************************************\r
+;/** @file\r
+;  Low leve IA32 specific debug support functions.\r
+;\r
+;  Copyright (c) 2006, 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
+;  http://opensource.org/licenses/bsd-license.php\r
+;\r
+;  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+;  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+;\r
+;**/\r
 \r
 .586p\r
 .MODEL          FLAT, C\r
@@ -95,7 +96,7 @@ OrigVector      dd      66666666h ; ?
 align           16\r
 DebugStackEnd   db      "DbgStkEnd >>>>>>"      ;; 16 byte long string - must be 16 bytes to preserve alignment\r
                 dd      1ffdh dup (000000000h)  ;; 32K should be enough stack\r
-                                                ;;   This allocation is coocked to insure \r
+                                                ;;   This allocation is coocked to insure\r
                                                 ;;   that the the buffer for the FXSTORE instruction\r
                                                 ;;   will be 16 byte aligned also.\r
                                                 ;;\r
@@ -131,49 +132,6 @@ FxStorSupport   PROC    C PUBLIC
 FxStorSupport   ENDP\r
 \r
 \r
-;------------------------------------------------------------------------------\r
-; DESCRIPTOR *\r
-; GetIdtr (\r
-;   void\r
-;   )\r
-;\r
-; Abstract: Returns physical address of IDTR\r
-;\r
-GetIdtr         PROC    C PUBLIC\r
-                LOCAL   IdtrBuf:FWORD\r
-\r
-                sidt    IdtrBuf\r
-                mov     eax, DWORD PTR IdtrBuf + 2\r
-                ret\r
-GetIdtr         ENDP\r
-\r
-\r
-;------------------------------------------------------------------------------\r
-; BOOLEAN\r
-; WriteInterruptFlag (\r
-;   BOOLEAN NewState\r
-;   )\r
-;\r
-; Abstract: Programs interrupt flag to the requested state and returns previous\r
-;           state.\r
-;\r
-WriteInterruptFlag  PROC C PUBLIC State:DWORD\r
-\r
-                pushfd\r
-                pop     eax\r
-                and     eax, 200h\r
-                shr     eax, 9\r
-                mov     ecx, State\r
-                .IF     cl == 0\r
-                        cli\r
-                .ELSE\r
-                        sti\r
-                .ENDIF\r
-                ret\r
-\r
-WriteInterruptFlag  ENDP\r
-\r
-\r
 \r
 ;------------------------------------------------------------------------------\r
 ; void\r