Changeset 1049 for trunk


Ignore:
Timestamp:
Apr 6, 2017, 4:43:37 PM (7 years ago)
Author:
alain
Message:

Cosmetic change in the hard_config.h file : XCU -> ICU , TTY -> TXT

Location:
trunk/softs/tsar_boot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/Makefile

    r1042 r1049  
    44USE_DT           ?= 0
    55DTS              ?= platform.dts
    6 HARD_CONFIG_PATH ?= ../../../giet_vm
     6HARD_CONFIG_PATH ?= ../../../almos-mkh
    77MAKECMDGOALS     ?= none
    88BS_PROC          ?= 0
  • trunk/softs/tsar_boot/drivers/reset_tty.c

    r1043 r1049  
    1111#include <defs.h>
    1212
    13 #ifndef SEG_TTY_BASE
    14 #   error "SEG_TTY_BASE constant must be defined in the hard_config.h file"
     13#ifndef SEG_TXT_BASE
     14#   error "SEG_TXT_BASE constant must be defined in the hard_config.h file"
    1515#endif
    1616
    17 static int* const tty_address = (int* const)SEG_TTY_BASE;
     17static int* const tty_address = (int* const)SEG_TXT_BASE;
    1818
    1919enum tty_registers {
  • trunk/softs/tsar_boot/include/defs.h

    r1042 r1049  
    4545#endif
    4646
    47 #ifndef SEG_XCU_BASE
    48 #   error "SEG_XCU_BASE constant must be defined in the hard_config.h file"
     47#ifndef SEG_ICU_BASE
     48#   error "SEG_ICU_BASE constant must be defined in the hard_config.h file"
    4949#endif
    5050
  • trunk/softs/tsar_boot/src/reset.S

    r1042 r1049  
    9797
    9898#if USE_32BIT
     99
    99100    /*** VERSION 1 : 32 bits ***/
    100101
     
    106107     * In each cluster, the XICU base address depends on the cluster_xy
    107108     */
    108     la      t3,     SEG_XCU_BASE      /* t3 <= ICU base address             */
     109    la      t3,     SEG_ICU_BASE      /* t3 <= ICU base address             */
    109110    li      t4,     1                 /* t4 <= 1                            */
    110111    sll     t4,     t4,     X_WIDTH   /* t4 <= 1 << X_WIDTH                 */
     
    136137    sllv    t4,     t4,     t1       /* Set XICU[MSK_WTI][INDEX][local_id]  */
    137138    sw      t4,     0(t5)            /* XICU[MSK_WTI][INDEX] <= t4          */
     139
    138140#else
     141
    139142    /*** VERSION 2 : 40 bits ***/
    140143
     
    144147     * In each cluster, the XICU base address depends on the cluster_xy
    145148     */
    146     la      t3,     SEG_XCU_BASE      /* t3 <= ICU base address             */
     149    la      t3,     SEG_ICU_BASE      /* t3 <= ICU base address             */
    147150    move    t4,     t1                /* t4 <= local_id                     */
    148151    li      t5,     IRQ_PER_PROCESSOR /* t5 <= IRQ_PER_PROCESSOR            */
     
    163166    sw      t4,     0(t5)            /* XICU[MSK_WTI][INDEX] <= t4          */
    164167    mtc2    zero,   CP2_PADDR_EXT    /* reset PADDR extension               */
     168
    165169#endif
    166170
Note: See TracChangeset for help on using the changeset viewer.