Ignore:
Timestamp:
01/03/00 14:06:42 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
db941670
Parents:
d5c4681e
Message:

Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@…> and Jay Kulpinski <jskulpin@…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/include/bsp.h

    rd5c4681e r95273a6  
    3333 * Total memory using RESIDUAL DATA
    3434 */
    35 unsigned int BSP_mem_size;
     35extern unsigned int BSP_mem_size;
    3636/*
    3737 * PCI Bus Frequency
    3838 */
    39 unsigned int BSP_bus_frequency;
     39extern unsigned int BSP_bus_frequency;
    4040/*
    4141 * processor clock frequency
    4242 */
    43 unsigned int BSP_processor_frequency;
     43extern unsigned int BSP_processor_frequency;
    4444/*
    4545 * Time base divisior (how many tick for 1 second).
    4646 */
    47 unsigned int BSP_time_base_divisor;
     47extern unsigned int BSP_time_base_divisor;
     48
     49#define BSP_Convert_decrementer( _value ) \
     50  ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
    4851
    4952extern rtems_configuration_table  BSP_Configuration;
Note: See TracChangeset for help on using the changeset viewer.