Update the copyright notice format
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / Ia16 / Init16.asm
CommitLineData
bc252e8e
EB
1;------------------------------------------------------------------------------\r
2; @file\r
3; 16-bit initialization code\r
4;\r
01a1c0fc
HT
5; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>\r
6; This program and the accompanying materials\r
bc252e8e
EB
7; are licensed and made available under the terms and conditions of the BSD License\r
8; which accompanies this distribution. The full text of the license may be found at\r
9; http://opensource.org/licenses/bsd-license.php\r
10;\r
11; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13;\r
14;------------------------------------------------------------------------------\r
15\r
16\r
17BITS 16\r
18\r
19;\r
20; @param[out] DI 'BP' to indicate boot-strap processor\r
21;\r
22EarlyBspInitReal16:\r
23 mov di, 'BP'\r
24 jmp short Main16\r
25\r
26;\r
27; @param[out] DI 'AP' to indicate application processor\r
28;\r
29EarlyApInitReal16:\r
30 mov di, 'AP'\r
31 jmp short Main16\r
32\r
33;\r
34; Modified: EAX\r
35;\r
36; @param[in] EAX Initial value of the EAX register (BIST: Built-in Self Test)\r
37; @param[out] ESP Initial value of the EAX register (BIST: Built-in Self Test)\r
38;\r
39EarlyInit16:\r
40 ;\r
41 ; ESP - Initial value of the EAX register (BIST: Built-in Self Test)\r
42 ;\r
43 mov esp, eax\r
44\r
45 debugInitialize\r
46\r
47 OneTimeCallRet EarlyInit16\r
48\r