On 14/01/2015 11:06, Pavel Dovgaluk wrote: >> > I think it is okay. INIT executes cpu_loop_exit() on x86 because >> > processors other than the boot processor are halted after they receive >> > INIT. > Then I cannot put everything in one if-else chain because it will change the > behavior of the code. > After processing RESET branch we can also process hardware interrupts (in > unmodified code).
Then if it's simpler you can add cpu_loop_exit(). It's not required, but it's also definitely not a fast path. Paolo