Move PrepareHobCpu() so that global data variable is updated before use