• Ben Avison's avatar
    Extra function to assist with ARMv8 compatibility · ebe048fb
    Ben Avison authored
    Detail:
      atomic_update_byte() is the equivalent of atomic_update() but deals with
      byte-wide rather than word-wide data fields. It operates using either
      SWPB or LDREXB/STREXB instructions, depending upon the architecture, and
      is therefore suitable for updating any modules which currently use SWPB
      explicitly in order to make them compatible with ARMv8 where the SWPB
      instruction has been removed.
    Admin:
      Tested on Raspberry Pi 3.
    
    Version 0.02. Tagged as 'SyncLib-0_02'
    ebe048fb
atomic 5.41 KB