TianoCore EDK2 master
Loading...
Searching...
No Matches
ReadGs.c File Reference

Go to the source code of this file.

Functions

UINT16 EFIAPI AsmReadGs (VOID)
 

Detailed Description

AsmReadGs function

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ReadGs.c.

Function Documentation

◆ AsmReadGs()

UINT16 EFIAPI AsmReadGs ( VOID  )

Reads the current value of GS Data Segment Register (GS).

Reads and returns the current value of GS. This function is only available on IA-32 and x64.

Returns
The current value of GS.

Definition at line 20 of file ReadGs.c.