Ignore:
Timestamp:
Aug 16, 2012, 6:36:16 PM (12 years ago)
Author:
alain
Message:

Several bugs have been fixed to support TSAR multi-cluster architecture
such as the "tsarv4-generic_mmu" platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/boot/boot_init.c

    r205 r207  
    286286void boot_puts(const char *buffer)
    287287{
    288     unsigned int* tty_address = (unsigned int*)( (unsigned)&seg_tty_base +
    289                                      (CLUSTER_IO_ID * (unsigned)CLUSTER_SIZE) );
     288    unsigned int* tty_address = (unsigned int*)( (char*)&seg_tty_base +
     289                                (CLUSTER_IO_ID * (unsigned)CLUSTER_SIZE) );
    290290    unsigned int n;
    291291
     
    293293    {
    294294        if (buffer[n] == 0) break;
    295         tty_address[0] = (unsigned int)buffer[n];
     295        tty_address[TTY_WRITE] = (unsigned int)buffer[n];
    296296    }
    297    
    298297}
    299298////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.