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
|
#![allow(non_snake_case)]
#[allow(dead_code)]
#[repr(C)]
pub(crate) struct FalconUCodeDescV2 {
Hdr: u32,
StoredSize: u32,
UncompressedSize: u32,
VirtualEntry: u32,
InterfaceOffset: u32,
IMEMPhysBase: u32,
IMEMLoadSize: u32,
IMEMVirtBase: u32,
IMEMSecBase: u32,
IMEMSecSize: u32,
DMEMOffset: u32,
DMEMLoadSize: u32,
altIMEMLoadSize: u32,
altDMEMLoadSize: u32,
}
#[repr(C)]
pub(crate) struct FalconUCodeDescV3 {
pub(crate) Hdr: u32,
pub(crate) StoredSize: u32,
PKCDataOffset: u32,
InterfaceOffset: u32,
pub(crate) IMEMPhysBase: u32,
pub(crate) IMEMLoadSize: u32,
pub(crate) IMEMVirtBase: u32,
pub(crate) DMEMPhysBase: u32,
pub(crate) DMEMLoadSize: u32,
EngineIdMask: u16,
UcodeId: u8,
SignatureCount: u8,
SignatureVersions: u16,
Reserved: u16,
}
|