hw: off-by-one bug when determining the last IRQ

Fix #1169
hw: enable and maintain outer l2 cache

Fix #1170
hw arm_v6: implement missing processor functions