Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 103761
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c
r48674 r58459 2 2 Serial I/O status code reporting worker. 3 3 4 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 51 51 CHAR8 *Description; 52 52 CHAR8 *Format; 53 CHAR8 Buffer[ EFI_STATUS_CODE_DATA_MAX_SIZE];53 CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; 54 54 UINT32 ErrorLevel; 55 55 UINT32 LineNumber; … … 90 90 Buffer, 91 91 sizeof (Buffer), 92 "ERROR: C% x:V%x I%x",92 "ERROR: C%08x:V%08x I%x", 93 93 CodeType, 94 94 Value, … … 128 128 Buffer, 129 129 sizeof (Buffer), 130 "PROGRESS CODE: V% x I%x\n\r",130 "PROGRESS CODE: V%08x I%x\n\r", 131 131 Value, 132 132 Instance … … 151 151 Buffer, 152 152 sizeof (Buffer), 153 "Undefined: C% x:V%x I%x\n\r",153 "Undefined: C%08x:V%08x I%x\n\r", 154 154 CodeType, 155 155 Value, -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h
r48674 r58459 2 2 Internal include file for Status Code Handler PEIM. 3 3 4 Copyright (c) 2006 - 201 0, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 32 32 #include <Library/PeimEntryPoint.h> 33 33 #include <Library/BaseMemoryLib.h> 34 35 // 36 // Define the maximum message length 37 // 38 #define MAX_DEBUG_MESSAGE_LENGTH 0x100 34 39 35 40 /** -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
r48674 r58459 1 1 ## @file 2 # Report Status Code Handler PEIM which produces general handlers and hook them 3 # onto the PEI status code router. 2 # Report Status Code Handler PEIM which produces general handlers and hook them onto the PEI status code router. 4 3 # 5 # Copyright (c) 2009 - 201 1, Intel Corporation. All rights reserved.<BR>4 # Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> 6 5 # 7 6 # This program and the accompanying materials … … 18 17 INF_VERSION = 0x00010005 19 18 BASE_NAME = StatusCodeHandlerPei 19 MODULE_UNI_FILE = StatusCodeHandlerPei.uni 20 20 FILE_GUID = 9D225237-FA01-464C-A949-BAABC02D31D0 21 21 MODULE_TYPE = PEIM … … 51 51 52 52 [Guids] 53 gMemoryStatusCodeRecordGuid ## SOMETIMES_CONSUMES ## HOB 54 gEfiStatusCodeDataTypeStringGuid ## CONSUMES 53 ## SOMETIMES_PRODUCES ## HOB 54 ## SOMETIMES_CONSUMES ## HOB 55 gMemoryStatusCodeRecordGuid 56 gEfiStatusCodeDataTypeStringGuid ## SOMETIMES_CONSUMES ## UNDEFINED 55 57 56 58 [Ppis] … … 58 60 59 61 [FeaturePcd] 60 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 61 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial 62 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES 63 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES 62 64 63 65 [Pcd] 64 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 66 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## SOMETIMES_CONSUMES 65 67 66 68 [Depex] 67 69 gEfiPeiRscHandlerPpiGuid 70 71 [UserExtensions.TianoCore."ExtraFiles"] 72 StatusCodeHandlerPeiExtra.uni -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c
r48674 r58459 2 2 Serial I/O status code reporting worker. 3 3 4 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 47 47 CHAR8 *Description; 48 48 CHAR8 *Format; 49 CHAR8 Buffer[ EFI_STATUS_CODE_DATA_MAX_SIZE];49 CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; 50 50 UINT32 ErrorLevel; 51 51 UINT32 LineNumber; … … 86 86 Buffer, 87 87 sizeof (Buffer), 88 "ERROR: C% x:V%x I%x",88 "ERROR: C%08x:V%08x I%x", 89 89 CodeType, 90 90 Value, … … 123 123 Buffer, 124 124 sizeof (Buffer), 125 "PROGRESS CODE: V% x I%x\n\r",125 "PROGRESS CODE: V%08x I%x\n\r", 126 126 Value, 127 127 Instance … … 146 146 Buffer, 147 147 sizeof (Buffer), 148 "Undefined: C% x:V%x I%x\n\r",148 "Undefined: C%08x:V%08x I%x\n\r", 149 149 CodeType, 150 150 Value, -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h
r48674 r58459 2 2 Internal include file for Status Code Handler Driver. 3 3 4 Copyright (c) 2006 - 201 0, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 35 35 #include <Library/UefiRuntimeLib.h> 36 36 #include <Library/SerialPortLib.h> 37 38 // 39 // Define the maximum message length 40 // 41 #define MAX_DEBUG_MESSAGE_LENGTH 0x100 37 42 38 43 // -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
r48674 r58459 1 1 ## @file 2 # Status Code Handler Driver which produces general handlers and hook them 3 # onto the DXE status code router. 2 # Status Code Handler Driver which produces general handlers and hook them onto the DXE status code router. 4 3 # 5 # Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>4 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 6 5 # 7 6 # This program and the accompanying materials … … 18 17 INF_VERSION = 0x00010005 19 18 BASE_NAME = StatusCodeHandlerRuntimeDxe 19 MODULE_UNI_FILE = StatusCodeHandlerRuntimeDxe.uni 20 20 FILE_GUID = 6C2004EF-4E0E-4BE4-B14C-340EB4AA5891 21 21 MODULE_TYPE = DXE_RUNTIME_DRIVER … … 50 50 ReportStatusCodeLib 51 51 DebugLib 52 SynchronizationLib53 52 BaseMemoryLib 54 53 55 54 [Guids] 56 gMemoryStatusCodeRecordGuid ## CONSUMES ## HOB 55 gMemoryStatusCodeRecordGuid ## SOMETIMES_CONSUMES ## HOB 56 gEfiStatusCodeDataTypeStringGuid ## SOMETIMES_CONSUMES ## UNDEFINED 57 57 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event 58 58 gEfiEventExitBootServicesGuid ## CONSUMES ## Event 59 gEfiStatusCodeDataTypeStringGuid ## CONSUMES60 59 61 60 [Protocols] … … 63 62 64 63 [FeaturePcd] 65 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn 66 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 67 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial 64 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn ## CONSUMES 65 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES 66 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES 68 67 69 68 [Pcd] 70 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 69 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## SOMETIMES_CONSUMES 71 70 72 71 [Depex] 73 72 gEfiRscHandlerProtocolGuid 73 74 [UserExtensions.TianoCore."ExtraFiles"] 75 StatusCodeHandlerRuntimeDxeExtra.uni -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/SerialStatusCodeWorker.c
r48674 r58459 2 2 Serial I/O status code reporting worker. 3 3 4 Copyright (c) 2009 - 201 1, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 47 47 CHAR8 *Description; 48 48 CHAR8 *Format; 49 CHAR8 Buffer[ EFI_STATUS_CODE_DATA_MAX_SIZE];49 CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; 50 50 UINT32 ErrorLevel; 51 51 UINT32 LineNumber; … … 86 86 Buffer, 87 87 sizeof (Buffer), 88 "ERROR: C% x:V%x I%x",88 "ERROR: C%08x:V%08x I%x", 89 89 CodeType, 90 90 Value, … … 123 123 Buffer, 124 124 sizeof (Buffer), 125 "PROGRESS CODE: V% x I%x\n\r",125 "PROGRESS CODE: V%08x I%x\n\r", 126 126 Value, 127 127 Instance … … 146 146 Buffer, 147 147 sizeof (Buffer), 148 "Undefined: C% x:V%x I%x\n\r",148 "Undefined: C%08x:V%08x I%x\n\r", 149 149 CodeType, 150 150 Value, -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.h
r48674 r58459 2 2 Internal include file for Status Code Handler Driver. 3 3 4 Copyright (c) 2009 - 201 0, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 32 32 #include <Library/MemoryAllocationLib.h> 33 33 #include <Library/BaseMemoryLib.h> 34 35 // 36 // Define the maximum message length 37 // 38 #define MAX_DEBUG_MESSAGE_LENGTH 0x100 34 39 35 40 // -
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf
r48674 r58459 1 1 ## @file 2 # Status Code Handler Driver which produces general handlers and hook them 3 # onto the SMM status code router. 2 # Status Code Handler Driver which produces general handlers and hook them onto the SMM status code router. 4 3 # 5 # Copyright (c) 2009 - 201 1, Intel Corporation. All rights reserved.<BR>4 # Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> 6 5 # 7 6 # This program and the accompanying materials … … 18 17 INF_VERSION = 0x00010005 19 18 BASE_NAME = StatusCodeHandlerSmm 19 MODULE_UNI_FILE = StatusCodeHandlerSmm.uni 20 20 FILE_GUID = 79CD78D8-6EDC-4978-BD02-3299C387AB17 21 21 MODULE_TYPE = DXE_SMM_DRIVER … … 48 48 ReportStatusCodeLib 49 49 DebugLib 50 SynchronizationLib51 50 MemoryAllocationLib 52 51 BaseMemoryLib 53 52 54 53 [Guids] 55 gMemoryStatusCodeRecordGuid ## CONSUMES ## HOB 56 gEfiStatusCodeDataTypeStringGuid ## CONSUMES 54 gEfiStatusCodeDataTypeStringGuid ## SOMETIMES_CONSUMES ## UNDEFINED 57 55 58 56 [Protocols] … … 60 58 61 59 [FeaturePcd] 62 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 63 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial 60 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES 61 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES 64 62 65 63 [Pcd] 66 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory 64 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## SOMETIMES_CONSUMES 67 65 68 66 [Depex] 69 67 gEfiSmmRscHandlerProtocolGuid 68 69 [UserExtensions.TianoCore."ExtraFiles"] 70 StatusCodeHandlerSmmExtra.uni
Note:
See TracChangeset
for help on using the changeset viewer.