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