Ignore:
Timestamp:
Feb 26, 2013, 9:19:41 AM (12 years ago)
Author:
cfuguet
Message:

Introducing IRQ_PER_PROC constant in the tsar boot loader
(pre-loader).
This constant is used to know how many XICU irq outputs
are connected to each processor.

i.e.

IRQ_PER_PROC = 3
NPROCS=2

xicu.irq_out[0] -> proc0 xicu.irq_out[3] -> proc1
xicu.irq_out[1] -> proc0 xicu.irq_out[4] -> proc1
xicu.irq_out[2] -> proc0 xicu.irq_out[5] -> proc1

This change the way the mailboxes for each processor
are calculated in the reset.S file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/conf/platform_fpga_de2-115/defs_platform.h

    r292 r302  
    1 #define NB_PROCS        4
    2 #define NB_CLUSTERS     1
     1#define NB_PROCS     4
     2#define NB_CLUSTERS  1
    33
    4 #define IOC_BASE        0xFB000000
    5 #define VCIBD_BASE      0xFB000000
    6 #define TTY_BASE        0xFC000000
    7 #define ICU_BASE        0xFD000000
     4#define IRQ_PER_PROC 1
     5
     6#define IOC_BASE     0xFB000000
     7#define VCIBD_BASE   0xFB000000
     8#define TTY_BASE     0xFC000000
     9#define ICU_BASE     0xFD000000
Note: See TracChangeset for help on using the changeset viewer.