Mike,

I don't understand why gEfiDebugPortVariableGuid and 
gEfiDebugPortDevicePathGuid are in the .DEC file since they can not exist in 
linked code. If you use these GUIDs in the code you need to add 
gEfiDebugPortProtocolGuid to your INF file to get your code to compile. Adding 
gEfiDebugPortVariableGuid or gEfiDebugPortDevicePathGuid to an INF file does 
nothing?

//
// DEBUGPORT variable definitions...
//
#define EFI_DEBUGPORT_VARIABLE_NAME L"DEBUGPORT"
#define EFI_DEBUGPORT_VARIABLE_GUID EFI_DEBUGPORT_PROTOCOL_GUID
#define gEfiDebugPortVariableGuid   gEfiDebugPortProtocolGuid

//
// DebugPort device path definitions...
//
#define DEVICE_PATH_MESSAGING_DEBUGPORT EFI_DEBUGPORT_PROTOCOL_GUID
#define gEfiDebugPortDevicePathGuid     gEfiDebugPortProtocolGuid

Also the following GUIDs only exist in the .dec and they are not define in 
Include/Protocol/ExtendedSalServiceClasses.h. 
     gEfiExtendedSalBaseIoServicesProtocolGuid 
     gEfiExtendedSalStallServicesProtocolGuid 
     gEfiExtendedSalRtcServicesProtocolGuid 
     gEfiExtendedSalVariableServicesProtocolGuid 
     gEfiExtendedSalMtcServicesProtocolGuid 
     gEfiExtendedSalResetServicesProtocolGuid 
     gEfiExtendedSalStatusCodeServicesProtocolGuid 
     gEfiExtendedSalFvBlockServicesProtocolGuid 
     gEfiExtendedSalMpServicesProtocolGuid 
     gEfiExtendedSalPalServicesProtocolGuid 
     gEfiExtendedSalBaseServicesProtocolGuid 
     gEfiExtendedSalMcaServicesProtocolGuid 
     gEfiExtendedSalPciServicesProtocolGuid 
     gEfiExtendedSalCacheServicesProtocolGuid 
     gEfiExtendedSalMcaLogServicesProtocolGuid 

Is there some reason for this? 


Thanks,

Andrew Fish






------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to