sh: Add MMU and Cache handling sleep mode code