Jeffrey Lee
authored
Detail: This change merges the past 15+ years of HAL branch development back to the trunk. This is effectively the end for non-HAL builds of the kernel, as no attempt has been made to maintain it during this merge, and all non-HAL & non-32bit code will soon be removed anyway. Rather than list everything that's been added to the HAL branch, it's easier to describe the change in terms of the things that the HAL branch was lacking: * Trunk version of Docs/32bit contained updated comments for the SVC stack structure during ErrorV * Trunk version of s/HeapMan contained a tweak to try and reduce the number of small free blocks that are created * Trunk version of s/Kernel contained a change to only copy 248 bytes of the error string to the error buffer (down from 252 bytes), to take into account the extra 4 bytes needed by the PSR. However this goes against the decision that's been made in the HAL branch that the error buffer should be enlarged to 260 bytes instead (ref: https://www.riscosopen.org/tracker/tickets/201), so the HAL build will retain its current behaviour. * Trunk version of s/MsgCode had RMNot32bit error in the list of error messages to count when countmsgusage {TRUE} * Trunk version of s/PMF/i2cutils contained support for OS_Memory 5, "read/write value of NVRamWriteSize". Currently the HAL branch doesn't have a use for this (in particular, the correct NVRamWriteSize should be specified by the HAL, so there should be no need for software to change it at runtime), and so this code will remain switched out in the HAL build. Admin: Tested on Raspberry Pi Version 5.48. Tagged as 'Kernel-5_48'