Changeset ee0ea5bf in rtems
- Timestamp:
- 10/12/14 18:57:28 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 6077804
- Parents:
- 9ca6799
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 18:57:28)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:28)
- Location:
- c/src/lib/libbsp/powerpc/tqm8xx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/tqm8xx/clock/p_clock.c
r9ca6799 ree0ea5bf 1 1 /* 2 2 * Clock Tick interrupt conexion code. 3 * 3 */ 4 5 /* 4 6 * COPYRIGHT (c) 1989-1997. 5 7 * On-Line Applications Research Corporation (OAR). … … 16 18 #include <bsp/irq-generic.h> 17 19 #include <rtems/bspIo.h> 20 18 21 extern void clockOn(void*); 19 22 extern void clockOff (void*); … … 21 24 extern void Clock_isr(void*); 22 25 23 void BSP_clock_hdl(void * arg)26 static void BSP_clock_hdl(void * arg) 24 27 { 25 28 Clock_isr(arg); 26 29 } 27 30 28 int BSP_get_clock_irq_level(void)31 static int BSP_get_clock_irq_level(void) 29 32 { 30 33 /* -
c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h
r9ca6799 ree0ea5bf 1 /*===============================================================*\ 2 | Project: RTEMS TQM8xx BSP | 3 +-----------------------------------------------------------------+ 4 | This file has been adapted to MPC8xx by | 5 | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 6 | Copyright (c) 2008 | 7 | Embedded Brains GmbH | 8 | Obere Lagerstr. 30 | 9 | D-82178 Puchheim | 10 | Germany | 11 | rtems@embedded-brains.de | 12 | | 13 | See the other copyright notice below for the original parts. | 14 +-----------------------------------------------------------------+ 15 | The license and distribution terms for this file may be | 16 | found in the file LICENSE in this distribution or at | 17 | | 18 | http://www.rtems.org/license/LICENSE. | 19 | | 20 +-----------------------------------------------------------------+ 21 | this file contains the console driver | 22 \*===============================================================*/ 23 /* derived from MBX8xx BSP: */ 24 /* bsp.h 25 * 1 /* 2 * RTEMS TQM8xx BSP 26 3 * This include file contains all board IO definitions. 27 * 28 * This file includes definitions for the MBX860 and MBX821. 4 */ 5 6 /* 7 * This file has been adapted to MPC8xx by: 8 * Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> 9 * Copyright (c) 2008 10 * Embedded Brains GmbH 11 * Obere Lagerstr. 30 12 * D-82178 Puchheim 13 * Germany 14 * rtems@embedded-brains.de 29 15 * 30 16 * COPYRIGHT (c) 1989-2008. … … 147 133 #define PGHPLUS_PB_SPI_DISP4_RS_MSK (1<<15) 148 134 #define PGHPLUS_PB_SPI_DISP4_CE_MSK (1<<14) 135 149 136 /* 150 137 * our (internal) bus frequency … … 152 139 extern uint32_t BSP_bus_frequency; 153 140 141 /* 142 * Interfaces to required Clock Driver support methods 143 */ 144 int BSP_disconnect_clock_handler(void); 145 int BSP_connect_clock_handler (rtems_irq_hdl); 146 154 147 #ifdef __cplusplus 155 148 } 156 149 #endif 150 157 151 #endif 158 152 #endif
Note: See TracChangeset
for help on using the changeset viewer.