• Jeffrey Lee's avatar
    Add memory barriers to register reads/writes. Reduce frequency of memory allocations. · 5ae117ef
    Jeffrey Lee authored
    Detail:
      s/regaccess - New file containing assembler register access routines, with memory barriers to protect against the BCM2835 AXI bus returning device loads out-of-order
      Makefile, dwc/dwc_common_port/h/dwc_os - Updated to use register access functions instead of inline code
      c/dwc_common_riscos - Added a simple bucket-and-chain data structure to dwc_alloc/dwc_free, to collect free memory blocks and allow them to be reused later, to reduce the load on the heap manager.
    Admin:
      Tested in BCM2835 ROM
    
    
    Version 0.03. Tagged as 'DWCDriver-0_03'
    5ae117ef
regaccess 2.88 KB