Commit Graph

6 Commits

Author SHA1 Message Date
Dave Stevenson
76c0680083 MMAL and vcsm fixups for 64bit builds
Fixes various casts to/from integer of a different size, and printf
for size_t not using %zu.
2019-12-11 14:04:13 +00:00
Dave Stevenson
ceb18b1b04 mmal_vc_shm: Expand error message 2019-07-24 16:14:17 +01:00
Dave Stevenson
1eeb882dd6 mmal_vc_shm: Refcount init/exit, and call on component create/destroy
Calling mmal_vc_shm from the constructor means that vcsm_init
is initialised very early. Should another user come along and
want to use export then it can't.

Move mmal_vc_shm init and exit calls to mmal_vc_component_create /
destroy so that other things can be created first, and reference
count calls so that it can be called for every component.
2019-07-24 16:08:53 +01:00
Dave Stevenson
dd9636d73e MMAL_VC_SHM: Explicitly lock buffer when requested
Avoids relying on the page fault locking it and
the potential deadlock in VCHI.
2016-06-27 17:46:47 +01:00
Dom Cobley
9852ce2882 Update master branch to next 2012-12-27 19:00:17 +00:00
popcornmix
729c0e6562 Initial import of userland code 2012-10-24 11:42:57 +01:00