mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
m1n1.fw.dcp.ipc: More fields
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
2f96635420
commit
795211c534
1 changed files with 7 additions and 2 deletions
|
@ -425,6 +425,8 @@ SWAP_SURFACES = 4
|
|||
|
||||
Rect = NamedTuple("rect", "x y w h", Int32ul[4])
|
||||
|
||||
ActiveRegion = NamedTuple("rect", "max_x max_y min_w max_w", Int32ul[4])
|
||||
|
||||
IOMFBSwapRec = Struct(
|
||||
"ts1" / Default(Int64ul, 0),
|
||||
"ts2" / Default(Int64ul, 0),
|
||||
|
@ -444,8 +446,11 @@ IOMFBSwapRec = Struct(
|
|||
"dst_rect" / Rect[SWAP_SURFACES],
|
||||
"swap_enabled" / Hex(Int32ul),
|
||||
"swap_completed" / Hex(Int32ul),
|
||||
"unk_10c" / Hex(Default(Int32ul, 0)),
|
||||
"unk_110" / UnkBytes(0x1b8),
|
||||
"bg_color" / Hex(Default(Int32ul, 0)),
|
||||
"unk_110" / UnkBytes(0x30),
|
||||
"active_region_enable" / Default(Int32ul[SWAP_SURFACES], [0]*SWAP_SURFACES),
|
||||
"active_regions" / Default(ActiveRegion[SWAP_SURFACES], [(0,0,0,0)] * SWAP_SURFACES),
|
||||
"unk_190" / UnkBytes(0x138),
|
||||
"unk_2c8" / Hex(Default(Int32ul, 0)),
|
||||
"unk_2cc" / UnkBytes(0x14),
|
||||
"unk_2e0" / Hex(Default(Int32ul, 0)),
|
||||
|
|
Loading…
Reference in a new issue