Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -38,11 +38,13 @@
|
||||
// 8 is for IPF archtecture.
|
||||
//
|
||||
#if defined (MDE_CPU_IPF)
|
||||
#define ALIGNMENT 8
|
||||
#define ALIGNMENT 8
|
||||
#else
|
||||
#define ALIGNMENT 1
|
||||
#define ALIGNMENT 1
|
||||
#endif
|
||||
|
||||
#define HEADER_ALIGNMENT 4
|
||||
|
||||
//
|
||||
// Variable Store Status
|
||||
//
|
||||
|
Reference in New Issue
Block a user