VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/BaseLib/X86WriteGdtr.c@ 80721

最後變更 在這個檔案從80721是 80721,由 vboxsync 提交於 6 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

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