mirror of https://github.com/acidanthera/audk.git
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
|
|
}
|
|
}
|
|
|