]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/WriteTr.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / 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 SECTION .text\r
18\r
19;------------------------------------------------------------------------------\r
20; VOID\r
21; AsmWriteTr (\r
22; UINT16 Selector\r
23; );\r
24;------------------------------------------------------------------------------\r
25global ASM_PFX(AsmWriteTr)\r
26ASM_PFX(AsmWriteTr):\r
27 mov eax, [esp+4]\r
28 ltr ax\r
29 ret\r
30\r