mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-27 12:15:19 +01:00
7c0aa811ec
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
29 lines
440 B
C
29 lines
440 B
C
/** @file
|
|
CpuFlushTlb function.
|
|
|
|
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
|
|
|
|
/**
|
|
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
|
|
|
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
|
|
|
**/
|
|
VOID
|
|
EFIAPI
|
|
CpuFlushTlb (
|
|
VOID
|
|
)
|
|
{
|
|
_asm {
|
|
mov eax, cr3
|
|
mov cr3, eax
|
|
}
|
|
}
|
|
|