]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseTimerLibLocalApic / X64 / X86LocalApicTimerInitialize.asm
CommitLineData
2c7e5c2f
HT
1; Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
2; This program and the accompanying materials \r
3eb9473e 3; are licensed and made available under the terms and conditions of the BSD License \r
4; which accompanies this distribution. The full text of the license may be found at \r
5; http://opensource.org/licenses/bsd-license.php \r
6; \r
7; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
8; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
9;\r
10; Module Name:\r
11;\r
c7f33ca4 12; x86LocalApicTimerInitialize.Asm\r
3eb9473e 13;\r
14; Abstract:\r
15;\r
c7f33ca4 16; Initialize Local Apic Timer\r
3eb9473e 17;\r
18; Notes:\r
19;\r
20;------------------------------------------------------------------------------\r
21\r
3eb9473e 22 .code\r
23\r
c7f33ca4 24EXTERNDEF InternalX86GetApicBase:PROC\r
25\r
3eb9473e 26;------------------------------------------------------------------------------\r
c7f33ca4 27; VOID\r
3eb9473e 28; EFIAPI\r
c7f33ca4 29; CpuInitLocalApicTimer (\r
30; VOID\r
3eb9473e 31; );\r
32;------------------------------------------------------------------------------\r
c7f33ca4 33CpuInitLocalApicTimer PROC\r
82dae5ef 34 sub rsp, 28h ;Reserve home addresses and make RSP 16-byte aligned\r
c7f33ca4 35 call InternalX86GetApicBase\r
82dae5ef 36 add rsp, 28h\r
c7f33ca4 37 mov dword ptr [rax + 3e0h], 0ah\r
38 bts dword ptr [rax + 320h], 17\r
39 mov dword ptr [rax + 380h], -1\r
3eb9473e 40 ret\r
c7f33ca4 41CpuInitLocalApicTimer ENDP\r
3eb9473e 42\r
43 END\r