mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-22 19:25:21 -04:00
Version 0.19.5
- solved a small bug in inserting compressed section - unknown 0xF0 section identified as SCT postcode data
This commit is contained in:
parent
de0bff71a2
commit
a927c51df1
4 changed files with 32 additions and 5 deletions
9
ffs.h
9
ffs.h
|
@ -289,7 +289,6 @@ typedef struct {
|
|||
#define FFS_ATTRIB_FIXED 0x04
|
||||
#define FFS_ATTRIB_DATA_ALIGNMENT 0x38
|
||||
#define FFS_ATTRIB_CHECKSUM 0x40
|
||||
//#define FFS_ATTRIB_LARGE_FILE 0x01 //This attribute is removed in new PI 1.3 specification, nice
|
||||
|
||||
// FFS alignment table
|
||||
extern const UINT8 ffsAlignmentTable[];
|
||||
|
@ -361,6 +360,7 @@ typedef struct {
|
|||
#define EFI_SECTION_RAW 0x19
|
||||
#define EFI_SECTION_PEI_DEPEX 0x1B
|
||||
#define EFI_SECTION_SMM_DEPEX 0x1C
|
||||
#define SCT_SECTION_POSTCODE 0xF0 // Specific to Phoenix SCT images
|
||||
|
||||
// Compression section
|
||||
typedef struct {
|
||||
|
@ -415,6 +415,13 @@ typedef struct {
|
|||
EFI_GUID SubTypeGuid;
|
||||
} EFI_FREEFORM_SUBTYPE_GUID_SECTION;
|
||||
|
||||
// Phoenix SCT postcode section
|
||||
typedef struct {
|
||||
UINT8 Size[3];
|
||||
UINT8 Type;
|
||||
UINT32 Postcode;
|
||||
} SCT_POSTCODE_SECTION;
|
||||
|
||||
// Other sections
|
||||
typedef EFI_COMMON_SECTION_HEADER EFI_DISPOSABLE_SECTION;
|
||||
typedef EFI_COMMON_SECTION_HEADER EFI_RAW_SECTION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue