Rank-switching, Open-row DRAM Controller for Mixed-Critical Real-Time Systems