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

Go to the source code of this file.

Functions

UINT16 EFIAPI AsmReadCs (VOID)
 

Detailed Description

AsmReadCs function

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

Definition in file ReadCs.c.

Function Documentation

◆ AsmReadCs()

UINT16 EFIAPI AsmReadCs ( VOID  )

Reads the current value of Code Segment Register (CS).

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

Returns
The current value of CS.

Definition at line 20 of file ReadCs.c.