RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Functions | Variables
ckinit.c File Reference
#include <stdlib.h>
#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <rtems/clockdrv.h>
#include "clock.h"

Macros

#define EXT_INT1   0x800 /* external interrupt 5 */
 
#define CLOCK_VECTOR_MASK   EXT_INT1
 
#define CLOCK_VECTOR   MIPS_INTERRUPT_BASE + 0x3
 

Functions

rtems_isr USC_isr (void *unused)
 
void reset_wdt (void)
 
void enable_wdi (void)
 
void init_hbt (void)
 
void enable_hbi (void)
 
void disable_hbi (void)
 
rtems_isr Clock_isr (rtems_vector_number vector)
 
rtems_isr User_Clock_isr (rtems_vector_number vector)
 
void Install_clock (rtems_isr_entry clock_isr)
 
void _Clock_Initialize (void)
 Initialize the clock driver.
 

Variables

uint32_t bsp_clicks_per_microsecond
 
volatile uint32_t Clock_driver_ticks
 Count of clock driver ticks since system boot or last overflow.
 
uint32_t Clock_isrs
 
rtems_isr_entry Old_ticker
 

Detailed Description

This file contains the clock driver initialization for the Hurricane BSP.