--- /dev/null
+;------------------------------------------------------------------------------\r
+; @file\r
+; 16-bit initialization code\r
+;\r
+; Copyright (c) 2008 - 2009, Intel Corporation\r
+; All rights reserved. This program and the accompanying materials\r
+; are licensed and made available under the terms and conditions of the BSD License\r
+; which accompanies this distribution. The full text of the license may be found at\r
+; http://opensource.org/licenses/bsd-license.php\r
+;\r
+; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+;\r
+;------------------------------------------------------------------------------\r
+\r
+\r
+BITS 16\r
+\r
+;\r
+; @param[out] DI 'BP' to indicate boot-strap processor\r
+;\r
+EarlyBspInitReal16:\r
+ mov di, 'BP'\r
+ jmp short Main16\r
+\r
+;\r
+; @param[out] DI 'AP' to indicate application processor\r
+;\r
+EarlyApInitReal16:\r
+ mov di, 'AP'\r
+ jmp short Main16\r
+\r
+;\r
+; Modified: EAX\r
+;\r
+; @param[in] EAX Initial value of the EAX register (BIST: Built-in Self Test)\r
+; @param[out] ESP Initial value of the EAX register (BIST: Built-in Self Test)\r
+;\r
+EarlyInit16:\r
+ ;\r
+ ; ESP - Initial value of the EAX register (BIST: Built-in Self Test)\r
+ ;\r
+ mov esp, eax\r
+\r
+ debugInitialize\r
+\r
+ OneTimeCallRet EarlyInit16\r
+\r