autocommit 2022-03-26 22:58:30 CET
This commit is contained in:
parent
3b1b843821
commit
707ff6066c
28 changed files with 2307 additions and 707 deletions
22
wire-xcon/res.txt
Normal file
22
wire-xcon/res.txt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
ext "X-Resource"
|
||||
|
||||
struct ResClientIdSpec {
|
||||
client: u32,
|
||||
mask: u32,
|
||||
}
|
||||
|
||||
struct ResClientIdValue {
|
||||
spec: ResClientIdSpec,
|
||||
length: u32 = mul(len(value), literal(4)),
|
||||
value: list(u32, div(field(length), literal(4))),
|
||||
}
|
||||
|
||||
request ResQueryClientIds = 4 (
|
||||
num_specs: u32 = len(specs),
|
||||
specs: list(ResClientIdSpec, field(num_specs)),
|
||||
) {
|
||||
@pad 1,
|
||||
num_ids: u32 = len(ids),
|
||||
@pad 20,
|
||||
ids: list(ResClientIdValue, field(num_ids)),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue