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:
qhuang8 2007-04-02 08:15:58 +00:00
parent e22f5aaab7
commit eb9603a0b7
1 changed files with 4 additions and 0 deletions

View File

@ -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)