@@ -36,28 +36,28 @@ type FileType uint32
3636const (
3737 // FOV
3838 TypeDeleted2 FileType = 0xffffffff
39- TypeDeleted = 0
40- TypeBootBlock = 0x1
41- TypeMaster = 0x2
42- TypeLegacyStage = 0x10
43- TypeStage = 0x11
44- TypeSELF = 0x20
45- TypeFIT = 0x21
46- TypeOptionRom = 0x30
47- TypeBootSplash = 0x40
48- TypeRaw = 0x50
49- TypeVSA = 0x51 // very, very obsolete Geode thing
50- TypeMBI = 0x52
51- TypeMicroCode = 0x53
52- TypeFSP = 0x60
53- TypeMRC = 0x61
54- TypeMMA = 0x62
55- TypeEFI = 0x63
56- TypeStruct = 0x70
57- TypeCMOS = 0xaa
58- TypeSPD = 0xab
59- TypeMRCCache = 0xac
60- TypeCMOSLayout = 0x1aa
39+ TypeDeleted FileType = 0
40+ TypeBootBlock FileType = 0x1
41+ TypeMaster FileType = 0x2
42+ TypeLegacyStage FileType = 0x10
43+ TypeStage FileType = 0x11
44+ TypeSELF FileType = 0x20
45+ TypeFIT FileType = 0x21
46+ TypeOptionRom FileType = 0x30
47+ TypeBootSplash FileType = 0x40
48+ TypeRaw FileType = 0x50
49+ TypeVSA FileType = 0x51 // very, very obsolete Geode thing
50+ TypeMBI FileType = 0x52
51+ TypeMicroCode FileType = 0x53
52+ TypeFSP FileType = 0x60
53+ TypeMRC FileType = 0x61
54+ TypeMMA FileType = 0x62
55+ TypeEFI FileType = 0x63
56+ TypeStruct FileType = 0x70
57+ TypeCMOS FileType = 0xaa
58+ TypeSPD FileType = 0xab
59+ TypeMRCCache FileType = 0xac
60+ TypeCMOSLayout FileType = 0x1aa
6161)
6262
6363const (
@@ -132,12 +132,12 @@ type Tag uint32
132132
133133const (
134134 Unused Tag = 0
135- Unused2 = 0xffffffff
136- Compressed = 0x42435a4c
137- Hash = 0x68736148
138- PSCB = 0x42435350
139- ALCB = 0x42434c41
140- SHCB = 0x53746748
135+ Unused2 Tag = 0xffffffff
136+ Compressed Tag = 0x42435a4c
137+ Hash Tag = 0x68736148
138+ PSCB Tag = 0x42435350
139+ ALCB Tag = 0x42434c41
140+ SHCB Tag = 0x53746748
141141)
142142
143143type FileAttrCompression struct {
@@ -204,7 +204,7 @@ type Architecture uint32
204204
205205const (
206206 X86 Architecture = 1
207- ARM = 0x10
207+ ARM Architecture = 0x10
208208)
209209
210210type StageHeader struct {
@@ -277,10 +277,10 @@ type SegmentType uint32
277277
278278const (
279279 SegCode SegmentType = 0x434F4445
280- SegData = 0x44415441
281- SegBSS = 0x42535320
282- SegParams = 0x50415241
283- SegEntry = 0x454E5452
280+ SegData SegmentType = 0x44415441
281+ SegBSS SegmentType = 0x42535320
282+ SegParams SegmentType = 0x50415241
283+ SegEntry SegmentType = 0x454E5452
284284)
285285
286286func (s SegmentType ) String () string {
0 commit comments