]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/GenericBdsLib/Ia32/ClearDr.asm
UEFI HII: Merge UEFI HII support changes from branch.
[mirror_edk2.git] / MdeModulePkg / Library / GenericBdsLib / Ia32 / ClearDr.asm
1 title ClearDr.asm
2 ;------------------------------------------------------------------------------
3 ;
4 ; Copyright (c) 2004, Intel Corporation
5 ; All rights reserved. This program and the accompanying materials
6 ; are licensed and made available under the terms and conditions of the BSD License
7 ; which accompanies this distribution. The full text of the license may be found at
8 ; http://opensource.org/licenses/bsd-license.php
9 ;
10 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 ;
13 ; Module Name:
14 ;
15 ; ClearDr.asm
16 ;
17 ; Abstract:
18 ;
19 ; Clear dr0 dr1 register
20 ;
21 ;------------------------------------------------------------------------------
22
23 .686
24 .MODEL FLAT,C
25 .CODE
26
27 ;------------------------------------------------------------------------------
28 ; VOID
29 ; ClearDebugRegisters (
30 ; VOID
31 ; )
32 ;------------------------------------------------------------------------------
33 ClearDebugRegisters PROC PUBLIC
34 push eax
35 xor eax, eax
36 mov dr0, eax
37 mov dr1, eax
38 pop eax
39 ret
40 ClearDebugRegisters ENDP
41
42 END
43