Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Update with upstream #7

Merged
merged 17 commits into from
Dec 21, 2015
Prev Previous commit
Next Next commit
UT 0.21.5 /UP 0.3.9 untested
- fixed various crashes reported in LongSoft#39
- changes aren't tested yet, please don't use until LongSoft#39 is fixed
  • Loading branch information
NikolajSchlej committed Nov 12, 2015
commit 19cc0312445145bbde46333bfab593e45d770da2
1 change: 1 addition & 0 deletions basetypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ typedef unsigned int UINTN;
#define ERR_NOTHING_TO_PATCH 41
#define ERR_DEPEX_PARSE_FAILED 42
#define ERR_TRUNCATED_IMAGE 43
#define ERR_BAD_RELOCATION_ENTRY 44
#define ERR_NOT_IMPLEMENTED 0xFF

// UDK porting definitions
Expand Down
6 changes: 4 additions & 2 deletions descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

// Flash descriptor header
typedef struct _FLASH_DESCRIPTOR_HEADER {
UINT8 FfVector[16]; // Must be 16 0xFFs
UINT8 FfVector[16]; // Must be 16 0xFFs
UINT32 Signature; // 0x0FF0A55A
} FLASH_DESCRIPTOR_HEADER;

Expand Down Expand Up @@ -53,6 +53,8 @@ typedef struct _FLASH_DESCRIPTOR_MAP {
UINT32: 16;
} FLASH_DESCRIPTOR_MAP;

#define FLASH_DESCRIPTOR_MAX_BASE 0xE0

// Component section
// Flash parameters DWORD structure
typedef struct _FLASH_PARAMETERS {
Expand Down Expand Up @@ -114,7 +116,7 @@ typedef struct _FLASH_DESCRIPTOR_COMPONENT_SECTION_V2 {
// If limit is zero - region is not present
typedef struct _FLASH_DESCRIPTOR_REGION_SECTION {
UINT16 DescriptorBase; // Descriptor
UINT16 DescriptorLimit; //
UINT16 DescriptorLimit; //
UINT16 BiosBase; // BIOS
UINT16 BiosLimit; //
UINT16 MeBase; // ME
Expand Down
2 changes: 1 addition & 1 deletion ffs.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ typedef struct _EFI_FIRMWARE_VOLUME_HEADER {
UINT16 ExtHeaderOffset; //Reserved in Revision 1
UINT8 Reserved;
UINT8 Revision;
//EFI_FV_BLOCK_MAP_ENTRY FvBlockMap[1];
//EFI_FV_BLOCK_MAP_ENTRY FvBlockMap[2];
} EFI_FIRMWARE_VOLUME_HEADER;

// Standard file system GUIDs
Expand Down
Loading