]> git.proxmox.com Git - mirror_edk2.git/blob - Dxe/CommonHeader.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / Dxe / CommonHeader.h
1 /**@file
2 Common header file shared by all source files.
3
4 This file includes package header files, library classes and protocol, PPI & GUID definitions.
5
6 Copyright (c) 2006, Intel Corporation.
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 **/
14
15 #ifndef __COMMON_HEADER_H_
16 #define __COMMON_HEADER_H_
17
18
19 //
20 // The package level header files this module uses
21 //
22 #include <FrameworkDxe.h>
23 //
24 // The protocols, PPI and GUID defintions for this module
25 //
26 #include <Guid/StatusCode.h>
27 #include <Protocol/DataHub.h>
28 #include <Protocol/SerialIo.h>
29 #include <Guid/MemoryStatusCodeRecord.h>
30 #include <Protocol/StatusCode.h>
31 #include <Guid/StatusCodeDataTypeId.h>
32 //
33 // The Library classes this module consumes
34 //
35 #include <Library/BaseLib.h>
36 #include <Library/BaseMemoryLib.h>
37 #include <Library/DebugLib.h>
38 #include <Library/ReportStatusCodeLib.h>
39 #include <Library/PrintLib.h>
40 #include <Library/PcdLib.h>
41 #include <Library/HobLib.h>
42 #include <Library/UefiDriverEntryPoint.h>
43 #include <Library/UefiBootServicesTableLib.h>
44 #include <Library/UefiLib.h>
45 #include <Library/MemoryAllocationLib.h>
46 #include <Library/UefiRuntimeLib.h>
47 #include <Library/SerialPortLib.h>
48 #include <Library/OemHookStatusCodeLib.h>
49
50 //
51 // Declaration for callback Event.
52 //
53 VOID
54 EFIAPI
55 VirtualAddressChangeCallBack (
56 IN EFI_EVENT Event,
57 IN VOID *Context
58 );
59
60 //
61 // Declaration for original Entry Point.
62 //
63 EFI_STATUS
64 EFIAPI
65 DxeStatusCodeDriverEntry (
66 IN EFI_HANDLE ImageHandle,
67 IN EFI_SYSTEM_TABLE *SystemTable
68 );
69
70 #endif