1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
2. Removed #ifdef EFI_SPECIFICATION_VERSION from all c files for all modules 3. Added comments for file VariableWorker.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2495 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -21,7 +21,15 @@ Abstract:
|
||||
|
||||
#include <Variable.h>
|
||||
|
||||
/**
|
||||
Get one variable by the index count.
|
||||
|
||||
@param IndexTable The pointer to variable index table.
|
||||
@param Count The index count of variable in index table.
|
||||
|
||||
@return The pointer to variable header indexed by count.
|
||||
|
||||
**/
|
||||
VARIABLE_HEADER *
|
||||
GetVariableByIndex (
|
||||
IN VARIABLE_INDEX_TABLE *IndexTable,
|
||||
@ -31,6 +39,17 @@ GetVariableByIndex (
|
||||
return (VARIABLE_HEADER *) (UINTN) (IndexTable->Index[Count] + ((UINTN) IndexTable->StartPtr & 0xFFFF0000));
|
||||
}
|
||||
|
||||
/**
|
||||
Record Variable in VariableIndex HOB.
|
||||
|
||||
Record Variable in VariableIndex HOB and update the length of variable index table.
|
||||
|
||||
@param IndexTable The pointer to variable index table.
|
||||
@param Variable The pointer to the variable that will be recorded.
|
||||
|
||||
@retval VOID
|
||||
|
||||
**/
|
||||
VOID
|
||||
VariableIndexTableUpdate (
|
||||
IN OUT VARIABLE_INDEX_TABLE *IndexTable,
|
||||
|
Reference in New Issue
Block a user