23 #ifndef LIBBSP_POWERPC_QORIQ_BSP_H 24 #define LIBBSP_POWERPC_QORIQ_BSP_H 38 #ifdef QORIQ_IS_HYPERVISOR_GUEST 39 #define QORIQ_THREAD_COUNT 1 41 #define QORIQ_THREAD_COUNT QORIQ_PHYSICAL_THREAD_COUNT 54 #define BSP_FEATURE_IRQ_EXTENSION 56 #define BSP_FDT_IS_SUPPORTED 58 #define QORIQ_CHIP(alpha, num) ((alpha) * 10000 + (num)) 60 #define QORIQ_CHIP_P1020 QORIQ_CHIP('P', 1020) 62 #define QORIQ_CHIP_T2080 QORIQ_CHIP('T', 2080) 64 #define QORIQ_CHIP_T4240 QORIQ_CHIP('T', 4240) 66 #define QORIQ_CHIP_VARIANT QORIQ_CHIP(QORIQ_CHIP_SERIES, QORIQ_CHIP_NUMBER) 68 #define QORIQ_CHIP_IS_T_VARIANT(variant) ((variant) / 10000 == 'T') 70 extern unsigned BSP_bus_frequency;
72 struct rtems_bsdnet_ifconfig;
75 struct rtems_bsdnet_ifconfig *
config,
79 int qoriq_if_intercom_attach_detach(
80 struct rtems_bsdnet_ifconfig *
config,
84 #if defined(HAS_UBOOT) 86 const char *bsp_uboot_getenv(
94 #define BSP_IDLE_TASK_BODY bsp_idle_thread 96 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_tsec_attach 97 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH4 qoriq_if_intercom_attach_detach 99 #define RTEMS_BSP_NETWORK_DRIVER_NAME "tsec1" 100 #define RTEMS_BSP_NETWORK_DRIVER_NAME2 "tsec2" 101 #define RTEMS_BSP_NETWORK_DRIVER_NAME3 "tsec3" 102 #define RTEMS_BSP_NETWORK_DRIVER_NAME4 "intercom1" 112 uint32_t reserved_1[8];
116 qoriq_start_spin_table_addr[QORIQ_CPU_COUNT / QORIQ_THREAD_COUNT];
122 void qoriq_restart_secondary_processor(
126 void qoriq_initialize_exceptions(
void *interrupt_stack_begin);
128 void qoriq_decrementer_dispatch(
void);
130 extern uint32_t bsp_time_base_frequency;
132 extern uint32_t qoriq_clock_frequency;
Definition: deflate.c:115
DEFAULT_INITIAL_EXTENSION Support.
Per CPU Core Structure.
Definition: percpu.h:290
#define RTEMS_NO_RETURN
Definition: basedefs.h:101
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26
void bsp_restart(const void *addr)
Restarts the bsp with "addr" address.
Definition: restart.c:25