big update

lots cleaned, added cia to cci conv, it
's called a block, separated reading from building, improved ncch keyx
stuff, and basic verbose for keys, elf checking and romfs
This commit is contained in:
applestash
2014-08-26 00:34:28 +10:00
parent c6e98ca578
commit 9c548197c1
66 changed files with 2970 additions and 2551 deletions
+10 -11
View File
@@ -23,7 +23,7 @@ typedef struct
u64 size;
u64 address;
u64 alignment;
} ElfSectionEntry;
} elf_section_entry;
typedef struct
{
@@ -36,18 +36,17 @@ typedef struct
u64 physicalAddress;
u64 sizeInMemory;
u64 alignment;
} ElfProgramEntry;
} elf_program_entry;
typedef struct
{
char *name;
u64 vAddr;
ElfProgramEntry *header;
elf_program_entry *header;
u32 sectionNum;
ElfSectionEntry *sections;
} ElfSegment;
elf_section_entry *sections;
} elf_segment;
typedef struct
{
@@ -55,7 +54,7 @@ typedef struct
u32 size;
u32 maxPageNum;
u8 *data;
} CodeSegment;
} code_segment;
typedef struct
{
@@ -73,12 +72,12 @@ typedef struct
u16 sectionHeaderNameEntryIndex;
ElfSectionEntry *sections;
ElfProgramEntry *programHeaders;
elf_section_entry *sections;
elf_program_entry *programHeaders;
u16 activeSegments;
ElfSegment *segments;
elf_segment *segments;
} ElfContext;
} elf_context;
int BuildExeFsCode(ncch_settings *ncchset);