EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

Build/S3C24xxPkg/DEBUG_ARMGCC/ARM/Omap35xxPkg/TPS65950Dxe/TPS65950/DEBUG/AutoGen.c

Go to the documentation of this file.
00001 
00008 #include <PiDxe.h>
00009 #include <Library/BaseLib.h>
00010 #include <Library/DebugLib.h>
00011 #include <Library/UefiBootServicesTableLib.h>
00012 #include <Library/UefiDriverEntryPoint.h>
00013 
00014 GLOBAL_REMOVE_IF_UNREFERENCED GUID gEfiCallerIdGuid = {0x71fe861a, 0x5450, 0x48b6, {0xbf, 0xb0, 0xb9, 0x35, 0x22, 0x61, 0x6f, 0x99}};
00015 
00016 // Guids
00017 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiMdePkgTokenSpaceGuid = { 0x914AEBE7, 0x4635, 0x459b, { 0xAA, 0x1C, 0x11, 0xE2, 0x19, 0xB0, 0x3A, 0x10 }};
00018 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gOmap35xxTokenSpaceGuid = { 0x24b09abe, 0x4e47, 0x481c, { 0xa9, 0xad, 0xce, 0xf1, 0x2c, 0x39, 0x23, 0x27} };
00019 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiEventReadyToBootGuid = { 0x7CE88FB3, 0x4BD7, 0x4679, { 0x87, 0xA8, 0xA8, 0xD8, 0xDE, 0xE5, 0x0D, 0x2B }};
00020 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiEventLegacyBootGuid = { 0x2A571201, 0x4966, 0x47F6, { 0x8B, 0x86, 0xF3, 0x1E, 0x41, 0xF3, 0x2F, 0x10 }};
00021 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiGlobalVariableGuid = { 0x8BE4DF61, 0x93CA, 0x11D2, { 0xAA, 0x0D, 0x00, 0xE0, 0x98, 0x03, 0x2B, 0x8C }};
00022 
00023 // Protocols
00024 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiSmbusHcProtocolGuid = {0xe49d33ed, 0x513d, 0x4634, { 0xb6, 0x98, 0x6f, 0x55, 0xaa, 0x75, 0x1c, 0x1b} };
00025 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEmbeddedExternalDeviceProtocolGuid = { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }};
00026 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDevicePathProtocolGuid = { 0x09576E91, 0x6D3F, 0x11D2, { 0x8E, 0x39, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B }};
00027 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDriverBindingProtocolGuid = { 0x18A031AB, 0xB443, 0x4D1A, { 0xA5, 0xC0, 0x0C, 0x09, 0x26, 0x1E, 0x9F, 0x71 }};
00028 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiSimpleTextOutProtocolGuid = { 0x387477C2, 0x69C7, 0x11D2, { 0x8E, 0x39, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B }};
00029 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiGraphicsOutputProtocolGuid = { 0x9042A9DE, 0x23DC, 0x4A38, { 0x96, 0xFB, 0x7A, 0xDE, 0xD0, 0x80, 0x51, 0x6A }};
00030 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiHiiFontProtocolGuid = {0xe9ca4775, 0x8657, 0x47fc, {0x97, 0xe7, 0x7e, 0xd6, 0x5a, 0x08, 0x43, 0x24}};
00031 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiUgaDrawProtocolGuid = { 0x982C298B, 0xF4FA, 0x41CB, { 0xB8, 0x38, 0x77, 0xAA, 0x68, 0x8F, 0xB8, 0x39 }};
00032 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiComponentNameProtocolGuid = { 0x107A772C, 0xD5E1, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }};
00033 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiComponentName2ProtocolGuid = { 0x6A7A5CFF, 0xE8D9, 0x4F70, { 0xBA, 0xDA, 0x75, 0xAB, 0x30, 0x25, 0xCE, 0x14 }};
00034 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDriverConfigurationProtocolGuid = { 0x107A772B, 0xD5E1, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }};
00035 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDriverConfiguration2ProtocolGuid = { 0xBFD7DC1D, 0x24F1, 0x40D9, { 0x82, 0xE7, 0x2E, 0x09, 0xBB, 0x6B, 0x4E, 0xBE }};
00036 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDriverDiagnosticsProtocolGuid = { 0x0784924F, 0xE296, 0x11D4, { 0x9A, 0x49, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }};
00037 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiDriverDiagnostics2ProtocolGuid = { 0x4D330321, 0x025F, 0x4AAC, { 0x90, 0xD8, 0x5E, 0xD9, 0x00, 0x17, 0x3B, 0x63 }};
00038 GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID gEfiLoadedImageProtocolGuid = { 0x5B1B31A1, 0x9562, 0x11D2, { 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B }};
00039 
00040 // Definition of PCDs used in libraries
00041 
00042 #define _PCD_TOKEN_PcdDriverDiagnosticsDisable  54
00043 #define _PCD_VALUE_PcdDriverDiagnosticsDisable  ((BOOLEAN)1)
00044 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdDriverDiagnosticsDisable = _PCD_VALUE_PcdDriverDiagnosticsDisable;
00045 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdDriverDiagnosticsDisable;
00046 #define _PCD_GET_MODE_BOOL_PcdDriverDiagnosticsDisable  _gPcd_FixedAtBuild_PcdDriverDiagnosticsDisable
00047 //#define _PCD_SET_MODE_BOOL_PcdDriverDiagnosticsDisable  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00048 
00049 #define _PCD_TOKEN_PcdComponentName2Disable  49
00050 #define _PCD_VALUE_PcdComponentName2Disable  ((BOOLEAN)1)
00051 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdComponentName2Disable = _PCD_VALUE_PcdComponentName2Disable;
00052 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdComponentName2Disable;
00053 #define _PCD_GET_MODE_BOOL_PcdComponentName2Disable  _gPcd_FixedAtBuild_PcdComponentName2Disable
00054 //#define _PCD_SET_MODE_BOOL_PcdComponentName2Disable  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00055 
00056 #define _PCD_TOKEN_PcdMaximumAsciiStringLength  16
00057 #define _PCD_VALUE_PcdMaximumAsciiStringLength  1000000
00058 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength = _PCD_VALUE_PcdMaximumAsciiStringLength;
00059 extern const  UINT32  _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength;
00060 #define _PCD_GET_MODE_32_PcdMaximumAsciiStringLength  _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength
00061 //#define _PCD_SET_MODE_32_PcdMaximumAsciiStringLength  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00062 
00063 #define _PCD_TOKEN_PcdUefiLibMaxPrintBufferSize  50
00064 #define _PCD_VALUE_PcdUefiLibMaxPrintBufferSize  320
00065 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize = _PCD_VALUE_PcdUefiLibMaxPrintBufferSize;
00066 extern const  UINT32  _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize;
00067 #define _PCD_GET_MODE_32_PcdUefiLibMaxPrintBufferSize  _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize
00068 //#define _PCD_SET_MODE_32_PcdUefiLibMaxPrintBufferSize  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00069 
00070 #define _PCD_TOKEN_PcdMaximumUnicodeStringLength  32
00071 #define _PCD_VALUE_PcdMaximumUnicodeStringLength  1000000
00072 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength = _PCD_VALUE_PcdMaximumUnicodeStringLength;
00073 extern const  UINT32  _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength;
00074 #define _PCD_GET_MODE_32_PcdMaximumUnicodeStringLength  _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength
00075 //#define _PCD_SET_MODE_32_PcdMaximumUnicodeStringLength  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00076 
00077 #define _PCD_TOKEN_PcdDebugPropertyMask  22
00078 #define _PCD_VALUE_PcdDebugPropertyMask  0x2f
00079 GLOBAL_REMOVE_IF_UNREFERENCED const UINT8 _gPcd_FixedAtBuild_PcdDebugPropertyMask = _PCD_VALUE_PcdDebugPropertyMask;
00080 extern const  UINT8  _gPcd_FixedAtBuild_PcdDebugPropertyMask;
00081 #define _PCD_GET_MODE_8_PcdDebugPropertyMask  _gPcd_FixedAtBuild_PcdDebugPropertyMask
00082 //#define _PCD_SET_MODE_8_PcdDebugPropertyMask  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00083 
00084 #define _PCD_TOKEN_PcdComponentNameDisable  52
00085 #define _PCD_VALUE_PcdComponentNameDisable  ((BOOLEAN)1)
00086 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdComponentNameDisable = _PCD_VALUE_PcdComponentNameDisable;
00087 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdComponentNameDisable;
00088 #define _PCD_GET_MODE_BOOL_PcdComponentNameDisable  _gPcd_FixedAtBuild_PcdComponentNameDisable
00089 //#define _PCD_SET_MODE_BOOL_PcdComponentNameDisable  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00090 
00091 #define _PCD_TOKEN_PcdDebugPrintErrorLevel  24
00092 #define _PCD_VALUE_PcdDebugPrintErrorLevel  0x80000000
00093 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel = _PCD_VALUE_PcdDebugPrintErrorLevel;
00094 extern const  UINT32  _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel;
00095 #define _PCD_GET_MODE_32_PcdDebugPrintErrorLevel  _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel
00096 //#define _PCD_SET_MODE_32_PcdDebugPrintErrorLevel  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00097 
00098 #define _PCD_TOKEN_PcdMaximumLinkedListLength  14
00099 #define _PCD_VALUE_PcdMaximumLinkedListLength  1000000
00100 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdMaximumLinkedListLength = _PCD_VALUE_PcdMaximumLinkedListLength;
00101 extern const  UINT32  _gPcd_FixedAtBuild_PcdMaximumLinkedListLength;
00102 #define _PCD_GET_MODE_32_PcdMaximumLinkedListLength  _gPcd_FixedAtBuild_PcdMaximumLinkedListLength
00103 //#define _PCD_SET_MODE_32_PcdMaximumLinkedListLength  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00104 
00105 #define _PCD_TOKEN_PcdUgaConsumeSupport  51
00106 #define _PCD_VALUE_PcdUgaConsumeSupport  ((BOOLEAN)1)
00107 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdUgaConsumeSupport = _PCD_VALUE_PcdUgaConsumeSupport;
00108 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdUgaConsumeSupport;
00109 #define _PCD_GET_MODE_BOOL_PcdUgaConsumeSupport  _gPcd_FixedAtBuild_PcdUgaConsumeSupport
00110 //#define _PCD_SET_MODE_BOOL_PcdUgaConsumeSupport  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00111 
00112 #define _PCD_TOKEN_PcdDebugClearMemoryValue  31
00113 #define _PCD_VALUE_PcdDebugClearMemoryValue  0xAF
00114 GLOBAL_REMOVE_IF_UNREFERENCED const UINT8 _gPcd_FixedAtBuild_PcdDebugClearMemoryValue = _PCD_VALUE_PcdDebugClearMemoryValue;
00115 extern const  UINT8  _gPcd_FixedAtBuild_PcdDebugClearMemoryValue;
00116 #define _PCD_GET_MODE_8_PcdDebugClearMemoryValue  _gPcd_FixedAtBuild_PcdDebugClearMemoryValue
00117 //#define _PCD_SET_MODE_8_PcdDebugClearMemoryValue  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00118 
00119 #define _PCD_TOKEN_PcdVerifyNodeInList  42
00120 #define _PCD_VALUE_PcdVerifyNodeInList  ((BOOLEAN)0)
00121 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdVerifyNodeInList = _PCD_VALUE_PcdVerifyNodeInList;
00122 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdVerifyNodeInList;
00123 #define _PCD_GET_MODE_BOOL_PcdVerifyNodeInList  _gPcd_FixedAtBuild_PcdVerifyNodeInList
00124 //#define _PCD_SET_MODE_BOOL_PcdVerifyNodeInList  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00125 
00126 #define _PCD_TOKEN_PcdOmap35xxConsoleUart  12
00127 #define _PCD_VALUE_PcdOmap35xxConsoleUart  3
00128 GLOBAL_REMOVE_IF_UNREFERENCED const UINT32 _gPcd_FixedAtBuild_PcdOmap35xxConsoleUart = _PCD_VALUE_PcdOmap35xxConsoleUart;
00129 extern const  UINT32  _gPcd_FixedAtBuild_PcdOmap35xxConsoleUart;
00130 #define _PCD_GET_MODE_32_PcdOmap35xxConsoleUart  _gPcd_FixedAtBuild_PcdOmap35xxConsoleUart
00131 //#define _PCD_SET_MODE_32_PcdOmap35xxConsoleUart  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00132 
00133 #define _PCD_TOKEN_PcdDriverDiagnostics2Disable  55
00134 #define _PCD_VALUE_PcdDriverDiagnostics2Disable  ((BOOLEAN)1)
00135 GLOBAL_REMOVE_IF_UNREFERENCED const BOOLEAN _gPcd_FixedAtBuild_PcdDriverDiagnostics2Disable = _PCD_VALUE_PcdDriverDiagnostics2Disable;
00136 extern const  BOOLEAN  _gPcd_FixedAtBuild_PcdDriverDiagnostics2Disable;
00137 #define _PCD_GET_MODE_BOOL_PcdDriverDiagnostics2Disable  _gPcd_FixedAtBuild_PcdDriverDiagnostics2Disable
00138 //#define _PCD_SET_MODE_BOOL_PcdDriverDiagnostics2Disable  ASSERT(FALSE)  // It is not allowed to set value for a FIXED_AT_BUILD PCD
00139 
00140 
00141 RETURN_STATUS
00142 EFIAPI
00143 BaseDebugLibSerialPortConstructor (
00144   VOID
00145   );
00146 
00147 EFI_STATUS
00148 EFIAPI
00149 UefiBootServicesTableLibConstructor (
00150   IN EFI_HANDLE        ImageHandle,
00151   IN EFI_SYSTEM_TABLE  *SystemTable
00152   );
00153 
00154 EFI_STATUS
00155 EFIAPI
00156 UefiRuntimeServicesTableLibConstructor (
00157   IN EFI_HANDLE        ImageHandle,
00158   IN EFI_SYSTEM_TABLE  *SystemTable
00159   );
00160 
00161 EFI_STATUS
00162 EFIAPI
00163 UefiLibConstructor (
00164   IN EFI_HANDLE        ImageHandle,
00165   IN EFI_SYSTEM_TABLE  *SystemTable
00166   );
00167 
00168 
00169 VOID
00170 EFIAPI
00171 ProcessLibraryConstructorList (
00172   IN EFI_HANDLE        ImageHandle,
00173   IN EFI_SYSTEM_TABLE  *SystemTable
00174   )
00175 {
00176   EFI_STATUS  Status;
00177 
00178   Status = BaseDebugLibSerialPortConstructor ();
00179   ASSERT_EFI_ERROR (Status);
00180 
00181   Status = UefiBootServicesTableLibConstructor (ImageHandle, SystemTable);
00182   ASSERT_EFI_ERROR (Status);
00183 
00184   Status = UefiRuntimeServicesTableLibConstructor (ImageHandle, SystemTable);
00185   ASSERT_EFI_ERROR (Status);
00186 
00187   Status = UefiLibConstructor (ImageHandle, SystemTable);
00188   ASSERT_EFI_ERROR (Status);
00189 
00190 }
00191 
00192 
00193 
00194 VOID
00195 EFIAPI
00196 ProcessLibraryDestructorList (
00197   IN EFI_HANDLE        ImageHandle,
00198   IN EFI_SYSTEM_TABLE  *SystemTable
00199   )
00200 {
00201 
00202 }
00203 
00204 const UINT32 _gUefiDriverRevision = 0x00000000;
00205 const UINT32 _gDxeRevision = 0x00000000;
00206 
00207 
00208 EFI_STATUS
00209 EFIAPI
00210 ProcessModuleEntryPointList (
00211   IN EFI_HANDLE        ImageHandle,
00212   IN EFI_SYSTEM_TABLE  *SystemTable
00213   )
00214 
00215 {
00216   return TPS65950Initialize (ImageHandle, SystemTable);
00217 }
00218 
00219 VOID
00220 EFIAPI
00221 ExitDriver (
00222   IN EFI_STATUS  Status
00223   )
00224 {
00225   if (EFI_ERROR (Status)) {
00226     ProcessLibraryDestructorList (gImageHandle, gST);
00227   }
00228   gBS->Exit (gImageHandle, Status, 0, NULL);
00229 }
00230 
00231 GLOBAL_REMOVE_IF_UNREFERENCED const UINT8 _gDriverUnloadImageCount = 0;
00232 
00233 EFI_STATUS
00234 EFIAPI
00235 ProcessModuleUnloadList (
00236   IN EFI_HANDLE        ImageHandle
00237   )
00238 {
00239   return EFI_SUCCESS;
00240 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines