• Jeffrey Lee's avatar
    Replace WriteBuffer_Drain ARMop with a suite of memory barrier ARMops · afc3b390
    Jeffrey Lee authored
      - Docs/HAL/ARMop_API - Updated with documentation for the new ARMops.
      - s/ARMops - Set up pointers for the new memory barrier ARMops. Add full implementations for ARMv6 & ARMv7; older architectures should be able to get by with a mix of null ops & write buffer drain ops. Update ARMopPtrTable to validate structure against the list in hdr/OSMisc
      - hdr/KernelWS - Reserve workspace for new ARMops. Free up a bit of space by limiting ourselves to 2 cache levels with ARMv7. Remove some unused definitions.
      - hdr/OSMisc - New header defining OS_PlatformFeatures & OS_MMUControl reason codes, OS_PlatformFeatures 0 flags, and OS_MMUControl 2 ARMop indices
      - Makefile - Add export rules for OSMisc header
      - hdr/ARMops, s/ARM600, s/VMSAv6 - Remove CPUFlag_* and MMUCReason_* definitions. Update OS_MMUControl write buffer drain to use DSB_ReadWrite ARMop (which is what most existing write buffer drain implementations have been renamed to).
      - s/GetAll - Get Hdr:OSMisc
      - s/Kernel - Use OS_PlatformFeatures reason code symbols
      - s/vdu/vdudecl - Remove unused definition
      Tested on ARM11, Cortex-A8, Cortex-A9
    Version 5.35, Tagged as 'Kernel-5_35-4_79_2_279'
VMSAv6 61.3 KB