From 46dd23b81ebe5041229608a851ed7af692863f3c Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 29 Mar 2007 07:45:24 +0000 Subject: 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 --- MdePkg/Include/Library/BaseLib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg/Include/Library') diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index f98b250402..fb3ca34131 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -25,7 +25,7 @@ // // SPIN_LOCK // -typedef UINTN SPIN_LOCK; +typedef volatile UINTN SPIN_LOCK; #if defined (MDE_CPU_IA32) // -- cgit v1.2.3