diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-29 07:45:24 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-29 07:45:24 +0000 |
commit | 46dd23b81ebe5041229608a851ed7af692863f3c (patch) | |
tree | f76c73f371030a77638f28b9b33e3ef1beb94363 /MdePkg/Include/Protocol | |
parent | c8dd259d6174c01569f2a6da7243d74d727b2678 (diff) | |
download | edk2-46dd23b81ebe5041229608a851ed7af692863f3c.zip edk2-46dd23b81ebe5041229608a851ed7af692863f3c.tar.gz edk2-46dd23b81ebe5041229608a851ed7af692863f3c.tar.bz2 |
1.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access harzard.
2.Sync MTFTP4 Protocol GUID with spec.
3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol')
-rw-r--r-- | MdePkg/Include/Protocol/IP4.h | 1 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/Mtftp4.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/Tcp4.h | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/IP4.h b/MdePkg/Include/Protocol/IP4.h index 0decc17..5a6ab59 100644 --- a/MdePkg/Include/Protocol/IP4.h +++ b/MdePkg/Include/Protocol/IP4.h @@ -28,6 +28,7 @@ typedef struct _EFI_IP4_PROTOCOL EFI_IP4_PROTOCOL;
typedef struct {
+ EFI_HANDLE InstanceHandle;
EFI_IPv4_ADDRESS Ip4Address;
EFI_IPv4_ADDRESS SubnetMask;
} EFI_IP4_ADDRESS_PAIR;
diff --git a/MdePkg/Include/Protocol/Mtftp4.h b/MdePkg/Include/Protocol/Mtftp4.h index 9c0e073..18ae20b 100644 --- a/MdePkg/Include/Protocol/Mtftp4.h +++ b/MdePkg/Include/Protocol/Mtftp4.h @@ -24,7 +24,7 @@ #define EFI_MTFTP4_PROTOCOL_GUID \
{ \
- 0x3ad9df29, 0x4501, 0x478d, {0xb1, 0xf8, 0x7f, 0x7f, 0xe7, 0x0e, 0x50, 0xf3 } \
+ 0x78247c57, 0x63db, 0x4708, {0x99, 0xc2, 0xa8, 0xb4, 0xa9, 0xa6, 0x1f, 0x6b } \
}
typedef struct _EFI_MTFTP4_PROTOCOL EFI_MTFTP4_PROTOCOL;
diff --git a/MdePkg/Include/Protocol/Tcp4.h b/MdePkg/Include/Protocol/Tcp4.h index 11354b5..8c22ef2 100644 --- a/MdePkg/Include/Protocol/Tcp4.h +++ b/MdePkg/Include/Protocol/Tcp4.h @@ -33,6 +33,7 @@ typedef struct _EFI_TCP4_PROTOCOL EFI_TCP4_PROTOCOL;
typedef struct {
+ EFI_HANDLE InstanceHandle;
EFI_IPv4_ADDRESS LocalAddress;
UINT16 LocalPort;
EFI_IPv4_ADDRESS RemoteAddress;
@@ -41,7 +42,7 @@ typedef struct { typedef struct {
EFI_HANDLE DriverHandle;
- UINTN ServiceCount;
+ UINT32 ServiceCount;
EFI_TCP4_SERVICE_POINT Services[1];
} EFI_TCP4_VARIABLE_DATA;
|