2007-10-05 20:47:03 +02:00
|
|
|
/** @file
|
|
|
|
CpuFlushTlb function.
|
|
|
|
|
2010-04-23 17:35:13 +02:00
|
|
|
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-10-05 20:47:03 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
2008-09-17 09:46:17 +02:00
|
|
|
|
2007-10-05 20:47:03 +02:00
|
|
|
|
2008-07-25 14:21:57 +02:00
|
|
|
/**
|
2008-11-26 04:26:37 +01:00
|
|
|
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
|
|
|
|
|
|
|
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
2007-10-05 20:47:03 +02:00
|
|
|
|
2008-07-25 14:21:57 +02:00
|
|
|
**/
|
2007-10-05 20:47:03 +02:00
|
|
|
VOID
|
|
|
|
EFIAPI
|
|
|
|
CpuFlushTlb (
|
|
|
|
VOID
|
|
|
|
)
|
|
|
|
{
|
|
|
|
_asm {
|
|
|
|
mov eax, cr3
|
|
|
|
mov cr3, eax
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|