Ignore:
Timestamp:
Aug 29, 2013, 12:18:45 PM (11 years ago)
Author:
bouyer
Message:

Print a version string at execution, dynamically computed at link time.
The version string includes: content of ./version, builder and date,
and svn revision.
This helps to know which version we're really executing ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/reset.S

    r425 r502  
    3939    .extern boot_putd
    4040    .extern boot_ioc_init
     41    .extern versionstr
    4142
    4243    .globl  boot                    /* Make reset an external symbol */
     
    142143    addu    sp,     k1,     k0      /* sp <= seg_stack_base + BOOT_STACK_SIZE */
    143144
     145    la      a0,     versionstr
     146    la      k0,     boot_puts
     147    jalr    k0
     148    nop
     149
    144150#ifndef SOCLIB_IOC
    145151
Note: See TracChangeset for help on using the changeset viewer.