Changeset fbe058f in mainline
- Timestamp:
- 2005-12-12T17:40:29Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ed8b3a
- Parents:
- e07fe0c
- Location:
- arch/mips32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/cp0.h
re07fe0c rfbe058f 81 81 extern __u32 cp0_badvaddr_read(void); 82 82 83 extern volatile__u32 cp0_count_read(void);83 extern __u32 cp0_count_read(void); 84 84 extern void cp0_count_write(__u32 val); 85 85 86 extern volatile__u32 cp0_entry_hi_read(void);86 extern __u32 cp0_entry_hi_read(void); 87 87 extern void cp0_entry_hi_write(__u32 val); 88 88 89 extern volatile__u32 cp0_compare_read(void);89 extern __u32 cp0_compare_read(void); 90 90 extern void cp0_compare_write(__u32 val); 91 91 -
arch/mips32/src/cpu/cpu.c
re07fe0c rfbe058f 109 109 for (i=0;imp_data80[i].vendor;i++) 110 110 ; 111 if ( m->arch.imp_num & 0x7f>= i) {111 if ((m->arch.imp_num & 0x7f) >= i) { 112 112 printf("imp=%d\n",m->arch.imp_num); 113 113 return; -
arch/mips32/src/drivers/arc.c
re07fe0c rfbe058f 218 218 } 219 219 220 static char arc_read(chardev_t *dev) 221 { 222 char ch; 223 __u32 count; 224 long result; 225 226 result = arc_entry->read(0, &ch, 1, &count); 227 if (result || count!=1) { 228 printf("Error reading from ARC keyboard.\n"); 229 cpu_halt(); 230 } 231 if (ch == '\r') 232 return '\n'; 233 if (ch == 0x7f) 234 return '\b'; 235 return ch; 236 } 237 220 238 static void arc_write(chardev_t *dev, const char ch) 221 239 { … … 236 254 .resume = arc_enable, 237 255 .suspend = arc_disable, 238 .write = arc_write 256 .write = arc_write, 257 .read = arc_read 239 258 }; 240 259 -
arch/mips32/src/exception.c
re07fe0c rfbe058f 143 143 int cause; 144 144 int excno; 145 __u32 epc_shift = 0;146 145 147 146 ASSERT(CPU != NULL); -
arch/mips32/src/interrupt.c
re07fe0c rfbe058f 94 94 void interrupt_init(void) 95 95 { 96 int i;97 98 96 int_register(TIMER_IRQ, "timer", timer_exception); 99 97 int_register(0, "swint0", swint0);
Note:
See TracChangeset
for help on using the changeset viewer.