RomFS: Difference between revisions

Neimod (talk | contribs)
No edit summary
Neimod (talk | contribs)
No edit summary
Line 38: Line 38:
| 0x08
| 0x08
| 0x4
| 0x4
| Level 1 size
| Master hashes size
|-
| 0x0C
| 0x8
| size
|-
|-
|  0x14
|  0x14
Line 47: Line 51:
|  0x4
|  0x4
|  Level 1 block size, in log2.
|  Level 1 block size, in log2.
|-
|  0x24
|  0x8
|  size
|-
|-
|  0x2C
|  0x2C
0x4
0x8
3rd content size
|  size
|-
|-
|  0x34
|  0x34
Line 57: Line 65:
|-
|-
|  0x44
|  0x44
0x4
0x8
Level 3 size
Main content size
|-
|-
|  0x4C
|  0x4C
Line 69: Line 77:
|-
|-
|  0x60
|  0x60
|  0x20
|  0x20 * N
Second block hash
Master hashes
|}
|}


level1offset = align(0x5C, 8).
 
level3offset = align(Level1offset, level1blocksize).
   
   


The block hash from the header hashes the second block at 0x2000.
The block hash from the header hashes the second block at 0x2000.