summaryrefslogtreecommitdiff
path: root/samples/seccomp/bpf-helper.h
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2020-07-13 16:42:20 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 14:00:31 +0200
commit3de16839669f60b6049734e3a9f553a2a958c4b5 (patch)
tree08e23e0e798acc0fb0fdf04849c8eef46ea49f5b /samples/seccomp/bpf-helper.h
parente561f8e24c5ade18f97970c3034ac0f965370c3f (diff)
media: allegro: add explicit mail encoding and decoding
The message format in the mailboxes differ between firmware versions. Therefore, it is necessary to decouple the mailbox format of the driver from the message format of the firmware. This allows to keep a consistent message format in the driver while still supporting various firmware versions. Add an intermediate step to encode and decode message before writing the mails to the mailboxes. On the other hand, this allows to handle optional fields in the messages, which is required for advanced features of the encoder and was not possible until now. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'samples/seccomp/bpf-helper.h')
0 files changed, 0 insertions, 0 deletions