VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseCpuLib/X86CpuFlushTlb.c

最後變更 在這個檔案是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 502 位元組
 
1/** @file
2 CpuFlushTlb function for Ia32/X64.
3
4 Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
5 Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include <Library/BaseLib.h>
11
12/**
13 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
14
15 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
16
17**/
18VOID
19EFIAPI
20CpuFlushTlb (
21 VOID
22 )
23{
24 AsmWriteCr3 (AsmReadCr3 ());
25}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette