sh: reworked dynamic PMB mapping.