]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/ReadCr3.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadCr3.nasm
CommitLineData
d45cc7c3
JJ
1;------------------------------------------------------------------------------\r
2;\r
3; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
9344f092 4; SPDX-License-Identifier: BSD-2-Clause-Patent\r
d45cc7c3
JJ
5;\r
6; Module Name:\r
7;\r
8; ReadCr3.Asm\r
9;\r
10; Abstract:\r
11;\r
12; AsmReadCr3 function\r
13;\r
14; Notes:\r
15;\r
16;------------------------------------------------------------------------------\r
17\r
18 SECTION .text\r
19\r
20;------------------------------------------------------------------------------\r
21; UINTN\r
22; EFIAPI\r
23; AsmReadCr3 (\r
24; VOID\r
25; );\r
26;------------------------------------------------------------------------------\r
27global ASM_PFX(AsmReadCr3)\r
28ASM_PFX(AsmReadCr3):\r
29 mov eax, cr3\r
30 ret\r
31\r