Change _CR() to BASE_CR() to follow naming convention

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6886 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2008-12-06 01:19:56 +00:00
parent 120db52c6d
commit 22ce9dc5b9
2 changed files with 5 additions and 5 deletions

View File

@@ -274,7 +274,7 @@ typedef CHAR8 *VA_LIST;
@return A pointer to the structure from one of it's elements.
**/
#define _CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))
#define BASE_CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))
/**
Rounds a value up to the next boundary using a specified alignment.