X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSerialIo.h;h=d7458e0eaa1f0ae4c12683651cdfcf4b12c7622e;hb=a6508c051b680c94e8823070c655a857487e862e;hp=89a73409d9a0e9acccb4f32de645905667420a6a;hpb=53f2d96e2e17ec78b040729127456ad9c65ac5c6;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/SerialIo.h b/MdePkg/Include/Protocol/SerialIo.h index 89a73409d9..d7458e0eaa 100644 --- a/MdePkg/Include/Protocol/SerialIo.h +++ b/MdePkg/Include/Protocol/SerialIo.h @@ -25,8 +25,19 @@ 0xBB25CF6F, 0xF1D4, 0x11D2, {0x9A, 0x0C, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0xFD } \ } +// +// Protocol GUID defined in EFI1.1. +// +#define SERIAL_IO_PROTOCOL EFI_SERIAL_IO_PROTOCOL_GUID + typedef struct _EFI_SERIAL_IO_PROTOCOL EFI_SERIAL_IO_PROTOCOL; + +// +// Backward-compatible with EFI1.1. +// +typedef EFI_SERIAL_IO_PROTOCOL SERIAL_IO_INTERFACE; + // // Serial IO Data structures // @@ -246,8 +257,8 @@ typedef struct { UINT32 StopBits; } EFI_SERIAL_IO_MODE; -#define SERIAL_IO_INTERFACE_REVISION 0x00010000 -#define EFI_SERIAL_IO_PROTOCOL_REVISION SERIAL_IO_INTERFACE_REVISION +#define EFI_SERIAL_IO_PROTOCOL_REVISION 0x00010000 +#define SERIAL_IO_INTERFACE_REVISION EFI_SERIAL_IO_PROTOCOL_REVISION struct _EFI_SERIAL_IO_PROTOCOL { UINT32 Revision;