RTEMS 6.3
Loading...
Searching...
No Matches

NXP QorIQ Board Support Package. More...

Topics

 QorIQ - Inter-Processor Communication Support
 Inter-processor communication support.
 QorIQ - Interrupt Support
 Interrupt support.
 QorIQ - MMU Support
 MMU support.
 QorIQ - UART to Intercom Bridge Support
 UART to Intercom bridge support.

Files

file  bsps/powerpc/qoriq/btimer/btimer.c
 QorIQ benchmark timer.
file  bsps/powerpc/qoriq/clock/clock-config.c
 QorIQ clock configuration.
file  bsps/powerpc/qoriq/console/console-config.c
 Console configuration.
file  bsps/powerpc/qoriq/include/bsp.h
 Global BSP definitions.
file  bsps/powerpc/qoriq/include/bsp/qoriq.h
 QorIQ Configuration, Control and Status Registers.
file  bsps/powerpc/qoriq/include/bsp/tsec-config.h
 TSEC configuration.
file  bsps/powerpc/qoriq/include/bsp/VMEConfig.h
 This header file provides the interfaces used by VME bus device drivers.
file  bsps/powerpc/qoriq/include/tm27.h
 Support file for Timer Test 27.
file  bsps/powerpc/qoriq/irq/irq.c
 Interrupt implementation.
file  bsps/powerpc/qoriq/rtc/rtc-config.c
 RTC configuration.
file  bsps/powerpc/qoriq/start/bspreset.c
 BSP reset.
file  bsps/powerpc/qoriq/start/bsprestart.c
 BSP restart.
file  bsps/powerpc/qoriq/start/bspstart.c
 BSP startup.

Data Structures

struct  qoriq_start_spin_table

Macros

#define QORIQ_THREAD_COUNT   QORIQ_PHYSICAL_THREAD_COUNT
#define BSP_FEATURE_IRQ_EXTENSION
#define BSP_FDT_IS_SUPPORTED
#define QORIQ_CHIP(alpha, num)
#define QORIQ_CHIP_P1020   QORIQ_CHIP('P', 1020)
#define QORIQ_CHIP_T2080   QORIQ_CHIP('T', 2080)
#define QORIQ_CHIP_T4240   QORIQ_CHIP('T', 4240)
#define QORIQ_CHIP_VARIANT   QORIQ_CHIP(QORIQ_CHIP_SERIES, QORIQ_CHIP_NUMBER)
#define QORIQ_CHIP_IS_T_VARIANT(variant)
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   BSP_tsec_attach
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH4   qoriq_if_intercom_attach_detach
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "tsec1"
#define RTEMS_BSP_NETWORK_DRIVER_NAME2   "tsec2"
#define RTEMS_BSP_NETWORK_DRIVER_NAME3   "tsec3"
#define RTEMS_BSP_NETWORK_DRIVER_NAME4   "intercom1"

Functions

int BSP_tsec_attach (struct rtems_bsdnet_ifconfig *config, int attaching)
int qoriq_if_intercom_attach_detach (struct rtems_bsdnet_ifconfig *config, int attaching)
RTEMS_NO_RETURN void bsp_restart (void *addr)
void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task.
void qoriq_start_thread (struct Per_CPU_Control *)
RTEMS_NO_RETURN void qoriq_restart_secondary_processor (const qoriq_start_spin_table *spin_table)
void qoriq_initialize_exceptions (void *interrupt_stack_begin)
void qoriq_decrementer_dispatch (void)

Variables

unsigned BSP_bus_frequency
qoriq_start_spin_table * qoriq_start_spin_table_addr [QORIQ_CPU_COUNT/QORIQ_THREAD_COUNT]
uint32_t bsp_time_base_frequency
uint32_t qoriq_clock_frequency

Detailed Description

NXP QorIQ Board Support Package.

Macro Definition Documentation

◆ QORIQ_CHIP

#define QORIQ_CHIP ( alpha,
num )
Value:
((alpha) * 10000 + (num))

◆ QORIQ_CHIP_IS_T_VARIANT

#define QORIQ_CHIP_IS_T_VARIANT ( variant)
Value:
((variant) / 10000 == 'T')

Function Documentation

◆ bsp_idle_thread()

void * bsp_idle_thread ( uintptr_t ignored)

Optimized idle task.

This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.

To enable the idle task use the following in the system configuration:

#include <bsp.h>
#define CONFIGURE_INIT
#define CONFIGURE_IDLE_TASK_BODY bsp_idle_thread
#include <confdefs.h>
This header file evaluates the application configuration options defined by the application.