how to halt m8xx?

Steven Scholz steven.scholz at imc-berlin.de
Wed Jan 29 19:57:19 EST 2003


xiaogeng_jin at agilent.com schrieb:
> Hi,
>
> I found that in m8xx the halt function is the same as the restart function because m8xx_halt() just calls m8xx_restart() in m8xx_setup.c. If I just want to halt the m8xx system but not to restart it automatically, what should I do? Set a few registers and wait for ever? THanks for your thoughts.

How about a

	while(1);

  ???

It worked fo me!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list