]>
Commit | Line | Data |
---|---|---|
1 | ; Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r | |
2 | ; This program and the accompanying materials \r | |
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 | |
12 | ; x86LocalApicTimerInitialize.Asm\r | |
13 | ;\r | |
14 | ; Abstract:\r | |
15 | ;\r | |
16 | ; Initialize Local Apic Timer\r | |
17 | ;\r | |
18 | ; Notes:\r | |
19 | ;\r | |
20 | ;------------------------------------------------------------------------------\r | |
21 | \r | |
22 | .386\r | |
23 | .model flat,C\r | |
24 | .code\r | |
25 | \r | |
26 | InternalX86GetApicBase PROTO C\r | |
27 | \r | |
28 | ;------------------------------------------------------------------------------\r | |
29 | ; VOID\r | |
30 | ; EFIAPI\r | |
31 | ; CpuInitLocalApicTimer (\r | |
32 | ; VOID\r | |
33 | ; );\r | |
34 | ;------------------------------------------------------------------------------\r | |
35 | CpuInitLocalApicTimer PROC\r | |
36 | call InternalX86GetApicBase\r | |
37 | mov dword ptr ds:[eax + 3e0h], 0ah\r | |
38 | bts dword ptr ds:[eax + 320h], 17\r | |
39 | mov dword ptr ds:[eax + 380h], -1\r | |
40 | ret\r | |
41 | CpuInitLocalApicTimer ENDP\r | |
42 | \r | |
43 | END\r |