Ignore:
Timestamp:
Nov 28, 2007, 9:44:46 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
28f398e7
Parents:
b9f34ad
Message:

2007-11-28 Joel Sherrill <joel.sherrill@…>

  • startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    rb9f34ad r07e9642c  
    55 *  before this routine is invoked.
    66 *
    7  *  COPYRIGHT (c) 1989-1999.
     7 *  COPYRIGHT (c) 1989-2007.
    88 *  On-Line Applications Research Corporation (OAR).
    99 *
     
    4343extern void ShowBATS();
    4444unsigned int rsPMCQ1Init();
     45
     46uint32_t bsp_clicks_per_usec;
    4547
    4648SPR_RW(SPRG0)
     
    377379  Cpu_table.postdriver_hook      = bsp_postdriver_hook;
    378380  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    379   Cpu_table.clicks_per_usec      = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
    380381  Cpu_table.exceptions_in_RAM    = TRUE;
     382
     383  bsp_clicks_per_usec = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
    381384
    382385ShowBATS();
Note: See TracChangeset for help on using the changeset viewer.