[U-Boot] [PATCH 11/21] i386: Generic system restart support

Graeme Russ graeme.russ at gmail.com
Mon Mar 7 22:54:44 CET 2011


Hi Kyle

On Tue, Mar 8, 2011 at 4:37 AM, Kyle Moffett <Kyle.D.Moffett at boeing.com> wrote:
> The i386 port has its own reset_cpu() dispatch for its various supported
> CPU families, so the existing do_reset() function is simply altered to
> use the new prototype for __arch_restart().
>
> In addition, the debug message and delay are duplicated from the generic
> code, so they are removed.
>
> This reset code will probably work even when the CPU is in a bad state,
> so no separate __arch_emergency_restart() function is required.

This part does not make much sense - If the CPU is in 'a bad state' then
it will probably be lights out anyway. As I understand it, an emergency
restart is a restart not initiated by the user (divide by zero, unhandled
exception etc), in which case i386 will make use of it

Regards,

Graeme


More information about the U-Boot mailing list