;/** @file\r
; Low leve IA32 specific debug support functions.\r
;\r
-; Copyright (c) 2006, Intel Corporation. <BR>\r
-; All rights reserved. This program and the accompanying materials\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
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