summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-07 17:33:31 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-07 17:33:31 +0200
commitb554ad054bee15040c59faa65c134a876cee654e (patch)
tree5de4782f768c97b15245d25180a857951627dc16 /lib
parent1caaa0318b216bbbe6c18a7d9c27f87fa34c9a31 (diff)
downloadplan9front-b554ad054bee15040c59faa65c134a876cee654e.tar.xz
zynq: fix /dev/pl
prevent double sleep(): callers to sleep() need to be serialized as there can only be one process sleeping at a time. plrlock and plwlock do this. wait for dma to complete in plwrite(): we have to wait for the dma to complete before touching plbuf again. maintain COPEN flag in archopen()/archclose(): when open fails because it was in use, clear the COPEN flag, so archclose() wont screw stuff up.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions