• Ben Avison's avatar
    Fix bugs and inefficiencies revealed by unaligned data audit · 8a9e694c
    Ben Avison authored
    Detail:
      s.PMF.i2cutils line 454: this LDR of byte values was harmless (bits 8
        upwards are discarded later) but slower than an LDRB on ARMv6 or later.
      s.PMF.i2cutils line 556: should have loaded RTCFitted using LDRB. Looks
        like effect would have been to reduce utilisation of CMOS cache.
      s.vdu.vduswis line 1500: mistakenly accessing ExternalFramestore using LDR.
        I don't think the intention was to prevent the screen DA being resized
        while screen memory was claimed, but that was the effect.
      s.vdu.vduwrch line 3106: this LDR of a 1-byte variable was harmless (only
        used for testing bit 4) but slower than an LDRB on ARMv6 or later.
      CPU version is no longer specified in the makefile - it's better to inherit
      it from the build environment now that we actually set it appropriately.
    Admin:
      Built and briefly tested.
    
    Version 5.35, 4.79.2.98.2.9. Tagged as 'Kernel-5_35-4_79_2_98_2_9'
    8a9e694c
vduswis 68.6 KB