This protocol is used by debug agent to communicate with the\r
remote debug host.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation \r
- All rights reserved. This program and the accompanying materials \r
+ Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
http://opensource.org/licenses/bsd-license.php \r
IN EFI_DEBUGPORT_PROTOCOL *This\r
);\r
\r
-//\r
-// DebugPort protocol definition\r
-//\r
-/**\r
- @par Protocol Description:\r
- This protocol provides the communication link between the debug agent and the remote host.\r
-\r
- @param Reset\r
- Resets the debugport hardware.\r
- \r
- @param Write\r
- Send a buffer of characters to the debugport device.\r
-\r
- @param Read \r
- Receive a buffer of characters from the debugport device.\r
-\r
- @param Poll \r
- Determine if there is any data available to be read from the debugport device.\r
-**/ \r
+///\r
+/// This protocol provides the communication link between the debug agent and the remote host.\r
+///\r
struct _EFI_DEBUGPORT_PROTOCOL {\r
EFI_DEBUGPORT_RESET Reset;\r
EFI_DEBUGPORT_WRITE Write;\r
//\r
#define EFI_DEBUGPORT_VARIABLE_NAME L"DEBUGPORT"\r
#define EFI_DEBUGPORT_VARIABLE_GUID EFI_DEBUGPORT_PROTOCOL_GUID\r
-#define gEfiDebugPortVariableGuid gEfiDebugPortProtocolGuid\r
+\r
+extern EFI_GUID gEfiDebugPortVariableGuid;\r
\r
//\r
// DebugPort device path definitions...\r
//\r
#define DEVICE_PATH_MESSAGING_DEBUGPORT EFI_DEBUGPORT_PROTOCOL_GUID\r
-#define gEfiDebugPortDevicePathGuid gEfiDebugPortProtocolGuid\r
+\r
+extern EFI_GUID gEfiDebugPortDevicePathGuid;\r
\r
typedef struct {\r
EFI_DEVICE_PATH_PROTOCOL Header;\r