+++ /dev/null
-;------------------------------------------------------------------------------\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
-; Module Name:\r
-;\r
-; SupportItpDebug.asm\r
-; \r
-; Abstract:\r
-; \r
-; This is the code for debuging IA32, to add a break hook at loading every module\r
-;\r
-;------------------------------------------------------------------------------\r
-\r
-; PROC:PRIVATE\r
- .686P\r
- .MMX\r
- .MODEL SMALL\r
- .CODE\r
-\r
-AsmEfiSetBreakSupport PROTO C LoadAddr:DWORD\r
-\r
-;------------------------------------------------------------------------------\r
-; VOID\r
-; AsmEfiSetBreakSupport (\r
-; IN UINTN LoadAddr\r
-; )\r
-;------------------------------------------------------------------------------\r
-\r
-AsmEfiSetBreakSupport PROC C LoadAddr:DWORD\r
-\r
- mov eax, LoadAddr\r
- mov dx, 60000\r
- out dx, eax\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- nop\r
- ret\r
- \r
-AsmEfiSetBreakSupport ENDP\r
- END\r