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

Build/S3C24xxPkg/DEBUG_ARMGCC/ARM/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe/DEBUG/AutoGen.c

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