• Jeffrey Lee's avatar
    Be more sensible with how much RAM we put into application space on boot · 8c1b7cdf
    Jeffrey Lee authored
    Detail:
      s/NewReset - During ROM init, keep application space mostly empty instead of attempting to move all RAM into it. This prevents the page order from being reversed, ensuring that in systems with two or more memory speeds the ROM modules get to use the fast RAM instead of the slow RAM (see free pool initialisation logic in InitDynamicAreas)
      After ROM module init, rebalance memory between the free pool and application space so that they each get 50%. This will provide plenty of memory for the boot sequence and any single-tasking stuff (e.g. booting into BASIC), without starving the free pool of memory and breaking any background processes like USB.
    Admin:
      Tested on BB-xM
      Fixes issue where USB devices would fail to initialise properly on some systems due to the boot sequence temporarily locking application space while the free pool is empty
    
    
    Version 5.35, 4.79.2.225. Tagged as 'Kernel-5_35-4_79_2_225'
    8c1b7cdf
NewReset 66.8 KB