]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X64/WriteTr.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteTr.nasm
CommitLineData
364a5474
JW
1;------------------------------------------------------------------------------ ;\r
2; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
9344f092 3; SPDX-License-Identifier: BSD-2-Clause-Patent\r
364a5474
JW
4;\r
5; Module Name:\r
6;\r
7; WriteTr.nasm\r
8;\r
9; Abstract:\r
10;\r
11; Write TR register\r
12;\r
13; Notes:\r
14;\r
15;------------------------------------------------------------------------------\r
16\r
17 DEFAULT REL\r
18 SECTION .text\r
19\r
20;------------------------------------------------------------------------------\r
21; VOID\r
22; AsmWriteTr (\r
23; UINT16 Selector\r
24; );\r
25;------------------------------------------------------------------------------\r
26global ASM_PFX(AsmWriteTr)\r
27ASM_PFX(AsmWriteTr):\r
28 mov eax, ecx\r
29 ltr ax\r
30 ret\r
31\r