-
Notifications
You must be signed in to change notification settings - Fork 0
/
dto.ksy
51 lines (51 loc) · 858 Bytes
/
dto.ksy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
meta:
id: dto
title: DTB/DTBO
license: CC0-1.0
file-extension: img
endian: be
types:
header:
seq:
- id: magic
contents: [ 0xd7, 0xb7, 0xab, 0x1e ]
- id: total_size
type: u4
- id: header_size
type: u4
- id: dt_entry_size
type: u4
- id: dt_entry_count
type: u4
- id: dt_entries_offset
type: u4
- id: page_size
type: u4
- id: version
type: u4
entry:
seq:
- id: size
type: u4
- id: offset
type: u4
- id: id
type: u4
- id: rev
type: u4
- id: custom
type: u4
repeat: expr
repeat-expr: 4
instances:
body:
io: _root._io
pos: offset
size: size
seq:
- id: header
type: header
- id: entries
type: entry
repeat: expr
repeat-expr: header.dt_entry_count