mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-18 15:27:48 +01:00
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
|
||
|
}
|
||
|
}
|
||
|
|