1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
16 ;------------------------------------------------------------------------------
20 ;------------------------------------------------------------------------------
26 ;------------------------------------------------------------------------------
27 global ASM_PFX(AsmReadDr4)
30 ; DR4 is alias to DR6 only if DE (in CR4) is cleared. Otherwise, reading
31 ; this register will cause a #UD exception.
33 ; MS assembler doesn't support this instruction since no one would use it
34 ; under normal circustances.