Changeset 207 for soft/giet_vm/boot
- Timestamp:
- Aug 16, 2012, 6:36:16 PM (12 years ago)
- Location:
- soft/giet_vm/boot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/boot/boot_init.c
r205 r207 286 286 void boot_puts(const char *buffer) 287 287 { 288 unsigned int* tty_address = (unsigned int*)( ( unsigned)&seg_tty_base +289 288 unsigned int* tty_address = (unsigned int*)( (char*)&seg_tty_base + 289 (CLUSTER_IO_ID * (unsigned)CLUSTER_SIZE) ); 290 290 unsigned int n; 291 291 … … 293 293 { 294 294 if (buffer[n] == 0) break; 295 tty_address[ 0] = (unsigned int)buffer[n];295 tty_address[TTY_WRITE] = (unsigned int)buffer[n]; 296 296 } 297 298 297 } 299 298 //////////////////////////////////////////////////////////////////////////// -
soft/giet_vm/boot/reset.S
r204 r207 65 65 nop 66 66 mfc0 a0, CP0_TIME 67 jal boot_put x67 jal boot_putd 68 68 nop 69 69 la a0, boot_lf_string … … 76 76 mfc0 k0, CP0_PROCID 77 77 andi a0, k0, 0xFFF 78 jal boot_put x78 jal boot_putd 79 79 nop 80 80 la a0, boot_lf_string
Note: See TracChangeset
for help on using the changeset viewer.