]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlb.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / Ia32 / CpuFlushTlb.nasm
1 ;------------------------------------------------------------------------------ ;
2 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
3 ; SPDX-License-Identifier: BSD-2-Clause-Patent
4 ;
5 ; Module Name:
6 ;
7 ; CpuFlushTlb.Asm
8 ;
9 ; Abstract:
10 ;
11 ; CpuFlushTlb function
12 ;
13 ; Notes:
14 ;
15 ;------------------------------------------------------------------------------
16
17 SECTION .text
18
19 ;------------------------------------------------------------------------------
20 ; VOID
21 ; EFIAPI
22 ; CpuFlushTlb (
23 ; VOID
24 ; );
25 ;------------------------------------------------------------------------------
26 global ASM_PFX(CpuFlushTlb)
27 ASM_PFX(CpuFlushTlb):
28 mov eax, cr3
29 mov cr3, eax ; moving to CR3 flushes TLB
30 ret
31