summaryrefslogtreecommitdiff
path: root/sys/src/9/zynq/devarch.c
AgeCommit message (Collapse)Author
2016-03-29zynq: cleanup devarch, flushmmu() after procflushpsecg()cinap_lenrek
2016-03-27zynq: introduce SG_FAULT to prevent access to AXI segment while PL is not readycinap_lenrek
access to the axi segment hangs the machine when the fpga is not programmed yet. to prevent access, we introduce a new SG_FAULT flag, that when set on the Segment.type or Physseg.attr, causes the fault handler to immidiately return with an error (as if the segment would not be mapped). during programming, we temporarily set the SG_FAULT flag on the axi physseg, flush all processes tlb's that have the segment mapped and when programming is done, we clear the flag again.
2015-06-09zynq: add /dev/fbctl to attach framebuffer to devdrawcinap_lenrek
2015-06-07zynq: fix /dev/plcinap_lenrek
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.
2014-12-24added zynq kernelaiju