]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/X64/SupportItpDebug.asm
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / X64 / SupportItpDebug.asm
1 ;------------------------------------------------------------------------------
2 ;
3 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 ; This program and the accompanying materials
5 ; are licensed and made available under the terms and conditions of the BSD License
6 ; which accompanies this distribution. The full text of the license may be found at
7 ; http://opensource.org/licenses/bsd-license.php
8 ;
9 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 ;
12 ; Module Name:
13 ;
14 ; SupportItpDebug.asm
15 ;
16 ; Abstract:
17 ;
18 ; This is the code for debuging X64, to add a break hook at loading every module
19 ;
20 ;------------------------------------------------------------------------------
21
22 ; PROC:PRIVATE
23 .CODE
24
25 ;------------------------------------------------------------------------------
26 ; VOID
27 ; AsmEfiSetBreakSupport (
28 ; IN UINTN LoadAddr // rcx
29 ; )
30 ;------------------------------------------------------------------------------
31
32 AsmEfiSetBreakSupport PROC PUBLIC
33
34 mov dx, 60000
35 out dx, eax
36 nop
37 nop
38 nop
39 nop
40 nop
41 nop
42 nop
43 nop
44 nop
45 nop
46 nop
47 nop
48 nop
49 nop
50 nop
51 nop
52 nop
53 nop
54 nop
55 nop
56 nop
57 nop
58 nop
59 nop
60 nop
61 nop
62 nop
63 nop
64 nop
65 nop
66 nop
67 nop
68 nop
69 nop
70 nop
71 nop
72 ret
73
74 AsmEfiSetBreakSupport ENDP
75 END
76