Changeset 207 for soft/giet_vm/boot


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.

Location:
soft/giet_vm/boot
Files:
2 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////////////////////////////////////////////////////////////////////////////
  • soft/giet_vm/boot/reset.S

    r204 r207  
    6565    nop
    6666    mfc0        a0,     CP0_TIME
    67         jal             boot_putx
     67        jal             boot_putd
    6868        nop
    6969    la          a0,     boot_lf_string
     
    7676    mfc0        k0,     CP0_PROCID
    7777    andi        a0,     k0,     0xFFF
    78         jal             boot_putx
     78        jal             boot_putd
    7979    nop
    8080    la          a0,     boot_lf_string
Note: See TracChangeset for help on using the changeset viewer.