]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/BaseLib/X64/ReadGs.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / ReadGs.nasm
... / ...
CommitLineData
1;------------------------------------------------------------------------------\r
2;\r
3; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
4; SPDX-License-Identifier: BSD-2-Clause-Patent\r
5;\r
6; Module Name:\r
7;\r
8; ReadGs.Asm\r
9;\r
10; Abstract:\r
11;\r
12; AsmReadGs function\r
13;\r
14; Notes:\r
15;\r
16;------------------------------------------------------------------------------\r
17\r
18 DEFAULT REL\r
19 SECTION .text\r
20\r
21;------------------------------------------------------------------------------\r
22; UINT16\r
23; EFIAPI\r
24; AsmReadGs (\r
25; VOID\r
26; );\r
27;------------------------------------------------------------------------------\r
28global ASM_PFX(AsmReadGs)\r
29ASM_PFX(AsmReadGs):\r
30 mov eax, gs\r
31 ret\r
32\r