2016-05-31 03:52:13 +02:00
|
|
|
;------------------------------------------------------------------------------ ;
|
|
|
|
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
2016-05-31 03:52:13 +02:00
|
|
|
;
|
|
|
|
; Module Name:
|
|
|
|
;
|
|
|
|
; CpuFlushTlb.Asm
|
|
|
|
;
|
|
|
|
; Abstract:
|
|
|
|
;
|
|
|
|
; CpuFlushTlb function
|
|
|
|
;
|
|
|
|
; Notes:
|
|
|
|
;
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
DEFAULT REL
|
|
|
|
SECTION .text
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; VOID
|
|
|
|
; EFIAPI
|
|
|
|
; CpuFlushTlb (
|
|
|
|
; VOID
|
|
|
|
; );
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
global ASM_PFX(CpuFlushTlb)
|
|
|
|
ASM_PFX(CpuFlushTlb):
|
|
|
|
mov rax, cr3
|
|
|
|
mov cr3, rax
|
|
|
|
ret
|
|
|
|
|