1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
[mirror_edk2.git] / OldMdePkg / Library / DxeCoreEntryPoint / DxeCoreEntryPoint.c
... / ...
CommitLineData
1/** @file\r
2 Entry point to the DXE Core.\r
3\r
4Copyright (c) 2006, Intel Corporation<BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15//\r
16// Cache copy of HobList pointer. \r
17// \r
18VOID *gHobList = NULL;\r
19\r
20/**\r
21 Enrty point to DXE core.\r
22\r
23 @param HobStart Pointer of HobList.\r
24\r
25**/\r
26VOID\r
27EFIAPI\r
28_ModuleEntryPoint (\r
29 IN VOID *HobStart\r
30 )\r
31{\r
32 //\r
33 // Cache a pointer to the HobList\r
34 //\r
35 gHobList = HobStart;\r
36\r
37 //\r
38 // Call the DXE Core entry point\r
39 //\r
40 ProcessModuleEntryPointList (HobStart);\r
41\r
42 //\r
43 // Should never return\r
44 //\r
45 ASSERT(FALSE);\r
46 CpuDeadLoop ();\r
47}\r
48\r
49\r
50/**\r
51 Wrapper of enrty point to DXE CORE.\r
52\r
53 @param HobStart Pointer of HobList.\r
54\r
55**/\r
56VOID\r
57EFIAPI\r
58EfiMain (\r
59 IN VOID *HobStart\r
60 )\r
61{\r
62 _ModuleEntryPoint (HobStart);\r
63}\r