Rev 1 | Rev 32 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 15 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | void halt(void) |
37 | void halt(void) |
38 | { |
38 | { |
39 | haltstate = 1; |
39 | haltstate = 1; |
40 | cpu_priority_high(); |
40 | cpu_priority_high(); |
41 | printf("cpu%d: halted\n", the->cpu->id); |
41 | printf("cpu%d: halted\n", CPU->id); |
42 | cpu_halt(); |
42 | cpu_halt(); |
43 | } |
43 | } |
44 | 44 | ||
45 | 45 | ||
46 | /* |
46 | /* |