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