X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadDr5.s;fp=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadDr5.s;h=df409e33047bb3d55fb5d709b7950db10801baba;hp=0000000000000000000000000000000000000000;hb=f7f897daefc5edc3ead909072d6e7309d76b5297;hpb=17b23c78ac822cd588a62c30b63b8447cb8aca0d diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr5.s b/MdePkg/Library/BaseLib/Ia32/ReadDr5.s new file mode 100644 index 0000000000..df409e3304 --- /dev/null +++ b/MdePkg/Library/BaseLib/Ia32/ReadDr5.s @@ -0,0 +1,41 @@ +#------------------------------------------------------------------------------ +# +# Copyright (c) 2006, Intel Corporation +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# Module Name: +# +# ReadDr5.Asm +# +# Abstract: +# +# AsmReadDr5 function +# +# Notes: +# +#------------------------------------------------------------------------------ + + + + + +#------------------------------------------------------------------------------ +# UINTN +# EFIAPI +# AsmReadDr5 ( +# VOID +# ); +#------------------------------------------------------------------------------ +.global _AsmReadDr5 +_AsmReadDr5: + movl %dr5, %eax + ret + + +