> In x86 I know (or think I know) that the idle loop is implemented with the > HALT command. I could not find any HALT command in MIPS assembly.
R5000 and above have a ``wait'' instruction which achieves this. > I tried to read the idle loop in MIPS asm, but as I don't know mips > assembly I could not follow the logic in it. You should look at -current sources, where it is much easier to read (see sys/arch/mips64/mips64/context.S) > And finally here is the question : How the IDLE loop is implemented in > MIPS. See the cpu_idle_* entry points in the above file. Miod