RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros | Functions
clock-a9mpcore.c File Reference

This source file contains the Clock Driver for Cortex-A9 MPCore compatible devices. More...

#include <bsp.h>
#include <bsp/fatal.h>
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
#include <bsp/arm-a9mpcore-regs.h>
#include <bsp/arm-a9mpcore-clock.h>
#include <rtems/timecounter.h>
#include <rtems/score/smpimpl.h>
#include "../../shared/dev/clock/clockimpl.h"

Macros

#define A9MPCORE_GT   ((volatile a9mpcore_gt *) BSP_ARM_A9MPCORE_GT_BASE)
 
#define Clock_driver_support_at_tick(arg)    a9mpcore_clock_at_tick(arg)
 
#define Clock_driver_support_initialize_hardware()    a9mpcore_clock_initialize()
 
#define Clock_driver_support_install_isr(isr)    a9mpcore_clock_handler_install(isr)
 

Functions

 __attribute__ ((weak))
 
uint32_t _CPU_Counter_frequency (void)
 Gets the current CPU counter frequency in Hz.
 
CPU_Counter_ticks _CPU_Counter_read (void)
 Gets the current CPU counter value.
 

Detailed Description

This source file contains the Clock Driver for Cortex-A9 MPCore compatible devices.

Function Documentation

◆ __attribute__()

__attribute__ ( (weak)  )

External Trace Linker and TBG data. We provide weak versions to allow us to link and be present in an application that has not been trace linked.