]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/Universal/Acpi/S3Resume2Pei/X64/AsmFuncs.nasm
UefiCpuPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / UefiCpuPkg / Universal / Acpi / S3Resume2Pei / X64 / AsmFuncs.nasm
CommitLineData
b3cfdef4
LG
1;------------------------------------------------------------------------------ ;\r
2; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
0acd8697 3; SPDX-License-Identifier: BSD-2-Clause-Patent\r
b3cfdef4
LG
4;\r
5; Module Name:\r
6;\r
7; AsmFuncs.Asm\r
8;\r
9; Abstract:\r
10;\r
11; Assembly function to set segment selectors.\r
12;\r
13; Notes:\r
14;\r
15;------------------------------------------------------------------------------\r
16\r
17DEFAULT REL\r
18SECTION .text\r
19\r
20;------------------------------------------------------------------------------\r
21; VOID\r
22; EFIAPI\r
23; AsmSetDataSelectors (\r
24; IN UINT16 SelectorValue\r
25; );\r
26;------------------------------------------------------------------------------\r
27global ASM_PFX(AsmSetDataSelectors)\r
28ASM_PFX(AsmSetDataSelectors):\r
29o16 mov ds, cx\r
30o16 mov es, cx\r
31o16 mov fs, cx\r
32o16 mov gs, cx\r
33o16 mov ss, cx\r
34 ret\r
35\r