EFI FV FILE ATTRIBUTES

From PhoenixWiki

Jump to: navigation, search

Prototype

typedef UINT32 EFI_FV_FILE_ATTRIBUTES;
#define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F

Description

The EFI_FV_FILE_ATTRIB_ALIGNMENT field indicates that the beginning of the data must be aligned on a particular boundary relative to the beginning of the firmware volume. This alignment only makes sense for block-oriented firmware volumes. This field is an enumeration of alignment possibilities. The allowable alignments are powers of two from byte alignment to 64 KB alignment. The supported alignments are described in the table below. All other values are reserved.


Required Alignment (bytes) Alignment Value in Attributes Field
1 0
2 1
4 2
8 3
16 4
32 5
64 6
128 7
256 8
512 9
1 KB 10
2 KB 11
4 KB 12
8 KB 13
16 KB 14
32 KB 15
64 KB 16

Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions (C) 1999-2003 Intel Corporation. Used with permission.

Personal tools