mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-18 15:27:48 +01:00
32 lines
700 B
NASM
32 lines
700 B
NASM
|
;------------------------------------------------------------------------------
|
||
|
;
|
||
|
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
|
||
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
;
|
||
|
; Module Name:
|
||
|
;
|
||
|
; ReadDr2.Asm
|
||
|
;
|
||
|
; Abstract:
|
||
|
;
|
||
|
; AsmReadDr2 function
|
||
|
;
|
||
|
; Notes:
|
||
|
;
|
||
|
;------------------------------------------------------------------------------
|
||
|
|
||
|
SECTION .text
|
||
|
|
||
|
;------------------------------------------------------------------------------
|
||
|
; UINTN
|
||
|
; EFIAPI
|
||
|
; AsmReadDr2 (
|
||
|
; VOID
|
||
|
; );
|
||
|
;------------------------------------------------------------------------------
|
||
|
global ASM_PFX(AsmReadDr2)
|
||
|
ASM_PFX(AsmReadDr2):
|
||
|
mov eax, dr2
|
||
|
ret
|
||
|
|