VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/X86WriteIdtr.c@ 107675

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 609 位元組
 
1/** @file
2 IA-32/x64 AsmWriteIdtr()
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include "BaseLibInternals.h"
10
11/**
12 Writes the current Interrupt Descriptor Table Register(IDTR) descriptor.
13
14 Writes the current IDTR descriptor and returns it in Idtr. This function is
15 only available on IA-32 and x64.
16
17 If Idtr is NULL, then ASSERT().
18
19 @param Idtr The pointer to a IDTR descriptor.
20
21**/
22VOID
23EFIAPI
24AsmWriteIdtr (
25 IN CONST IA32_DESCRIPTOR *Idtr
26 )
27{
28 ASSERT (Idtr != NULL);
29 InternalX86WriteIdtr (Idtr);
30}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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