mirror of https://github.com/acidanthera/audk.git
Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e22f5aaab7
commit
eb9603a0b7
|
@ -16,6 +16,10 @@
|
|||
|
||||
#include "BaseLibInternals.h"
|
||||
|
||||
//
|
||||
// SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED should belong to type "SPIN_LOCK".
|
||||
// Here we use type-case "UINTN" to avoid "volatile" modifier on const integers.
|
||||
//
|
||||
#define SPIN_LOCK_RELEASED ((UINTN) 1)
|
||||
#define SPIN_LOCK_ACQUIRED ((UINTN) 2)
|
||||
|
||||
|
|
Loading…
Reference in New Issue