mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-28 17:08:18 +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
|
||
|
}
|
||
|
}
|
||
|
|