Changeset 5f5f681 in rtems for tools/cpu/nios2/bridges.c


Ignore:
Timestamp:
Dec 10, 2009, 7:20:06 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e8cf7b5
Parents:
c9ece2e
Message:

Whitespace removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cpu/nios2/bridges.c

    rc9ece2e r5f5f681  
    1313
    1414/* This part of the program builds a list with pairs of bus
    15    master port names (each is "device name/master port name"). 
     15   master port names (each is "device name/master port name").
    1616   It is then possible to find if a given master is actually
    1717   available under a different master port name through bridges.
     
    2222   tristate_bridge_0 itself is slave of cpu0/data_master, the
    2323   bridge information would be stored as this bus_bridge_pair:
    24       mastered_by = "cpu0/data_master" and 
     24      mastered_by = "cpu0/data_master" and
    2525      bridges_to = "tristate_bridge_0/tristate_master".
    2626   That allows to deduce that SRAM is actually mastered by
     
    3737
    3838int is_bridged(
    39   char *cpu_master, 
    40   char *dev_master, 
     39  char *cpu_master,
     40  char *dev_master,
    4141  bus_bridge_pair *bridges)
    4242{
     
    4848  for(bbp = bridges; bbp != NULL; bbp=bbp->next)
    4949  {
    50     if(strcmp(cpu_master, bbp->mastered_by) == 0 && 
     50    if(strcmp(cpu_master, bbp->mastered_by) == 0 &&
    5151       is_bridged(bbp->bridges_to, dev_master, bridges))
    5252    {
Note: See TracChangeset for help on using the changeset viewer.