Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1888 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | /** @file |
32 | /** @file |
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #ifndef __mips32_DEBUG_H__ |
35 | #ifndef KERN_mips32_DEBUG_H_ |
| 36 | #define __mips23_DEBUG_H__ |
36 | #define KERN_mips23_DEBUG_H_ |
| 37 | - | ||
| 38 | - | ||
| 39 | 37 | ||
| 40 | /** simulator enters the trace mode */ |
38 | /** simulator enters the trace mode */ |
| 41 | #define ___traceon() asm volatile ( "\t.word\t0x39\n"); |
39 | #define ___traceon() asm volatile ( "\t.word\t0x39\n"); |
| 42 | /** simulator leaves the trace mode */ |
40 | /** simulator leaves the trace mode */ |
| 43 | #define ___traceoff() asm volatile ( "\t.word\t0x3d\n"); |
41 | #define ___traceoff() asm volatile ( "\t.word\t0x3d\n"); |
| Line 46... | Line 44... | ||
| 46 | /** halt the simulator */ |
44 | /** halt the simulator */ |
| 47 | #define ___halt() asm volatile ( "\t.word\t0x28\n"); |
45 | #define ___halt() asm volatile ( "\t.word\t0x28\n"); |
| 48 | /** simulator enters interactive mode */ |
46 | /** simulator enters interactive mode */ |
| 49 | #define ___intmode() asm volatile ( "\t.word\t0x29\n"); |
47 | #define ___intmode() asm volatile ( "\t.word\t0x29\n"); |
| 50 | 48 | ||
| 51 | - | ||
| 52 | #endif |
49 | #endif |
| 53 | 50 | ||
| 54 | /** @} |
51 | /** @} |
| 55 | */ |
52 | */ |