This code can start out being common between Cortex-R and Cortex-M. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>