RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros | Functions | Variables
bspstart.c File Reference

Motorola PowerPC BSP Start. More...

#include <string.h>
#include <bsp.h>
#include <bsp/bootcard.h>
#include <rtems/bspIo.h>
#include <rtems/counter.h>
#include <rtems/sysinit.h>
#include <bsp/consoleIo.h>
#include <libcpu/spr.h>
#include <bsp/residual.h>
#include <bsp/pci.h>
#include <bsp/openpic.h>
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
#include <libcpu/bat.h>
#include <libcpu/pte121.h>
#include <libcpu/cpuIdent.h>
#include <bsp/vectors.h>
#include <bsp/VME.h>
#include <bsp/motorola.h>
#include <rtems/powerpc/powerpc.h>

Macros

#define PPC_MIN_BAT_SIZE   (128 * 1024)
 
#define MAX_LOADER_ADD_PARM   80
 

Functions

void _return_to_ppcbug (void)
 
void L1_caches_enables (void)
 
unsigned get_L2CR (void)
 
void set_L2CR (unsigned)
 
Triv121PgTbl BSP_pgtbl_setup (unsigned int *)
 
void BSP_pgtbl_activate (Triv121PgTbl)
 
char * save_boot_params (void *r3, void *r4, void *r5, char *cmdline_start, char *cmdline_end)
 
uint32_t _CPU_Counter_frequency (void)
 Gets the current CPU counter frequency in Hz.
 
 RTEMS_SYSINIT_ITEM (bsp_early, RTEMS_SYSINIT_BSP_EARLY, RTEMS_SYSINIT_ORDER_MIDDLE)
 
void bsp_start (void)
 
 RTEMS_SYSINIT_ITEM (BSP_vme_config, RTEMS_SYSINIT_BSP_PRE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Variables

unsigned long __rtems_end []
 
uint32_t bsp_clicks_per_usec
 Time base clicks per micro second.
 
RESIDUAL residualCopy
 
char loaderParam [MAX_LOADER_ADD_PARM]
 
char * BSP_commandline_string = loaderParam
 
unsigned int BSP_mem_size
 
unsigned int BSP_bus_frequency
 
unsigned int BSP_processor_frequency
 
unsigned int BSP_time_base_divisor
 

Detailed Description

Motorola PowerPC BSP Start.

This routine does the bulk of the system initialization.