]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlb.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuFlushTlb.nasm
CommitLineData
68562b45
JJ
1;------------------------------------------------------------------------------ ;\r
2; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
9344f092 3; SPDX-License-Identifier: BSD-2-Clause-Patent\r
68562b45
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 SECTION .text\r
18\r
19;------------------------------------------------------------------------------\r
20; VOID\r
21; EFIAPI\r
22; CpuFlushTlb (\r
23; VOID\r
24; );\r
25;------------------------------------------------------------------------------\r
26global ASM_PFX(CpuFlushTlb)\r
27ASM_PFX(CpuFlushTlb):\r
28 mov eax, cr3\r
29 mov cr3, eax ; moving to CR3 flushes TLB\r
30 ret\r
31\r