Thread (3 messages) flat view 3 messages, 3 authors, 2003-01-29

Re: how to halt m8xx?

From: Steven Scholz <hidden>
Date: 2003-01-29 08:57:19

xiaogeng_jin@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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help