Changeset 88d594a in rtems for c/src/lib/libbsp
- Timestamp:
- 05/24/95 21:39:42 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5b9d6ddf
- Parents:
- bf61e45c
- Location:
- c/src/lib/libbsp
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
rbf61e45c r88d594a 1 1 /* 2 * @(#)bspstart.c 1.1 3 - 95/04/252 * @(#)bspstart.c 1.14 - 95/05/16 3 3 * 4 4 */ … … 25 25 * notice must appear in all copies of this file and its derivatives. 26 26 * 27 * $Id$27 * bspstart.c,v 1.2 1995/05/09 20:17:33 joel Exp 28 28 */ 29 29 … … 256 256 #ifdef hppa7200 257 257 /* 258 * Use DR0 if supported258 * Use HPPA_DR0 if supported 259 259 */ 260 260 { 261 261 int dr0; 262 HPPA_ASM_MFCPU( DR0, dr0);262 HPPA_ASM_MFCPU(HPPA_DR0, dr0); 263 263 cpu_number = (dr0 >> 4) & 0x7; 264 264 } -
c/src/lib/libbsp/i960/cvme961/shmsupp/lock.c
rbf61e45c r88d594a 19 19 20 20 #include <rtems.h> 21 #include "cpu.h" 22 #include "bsp.h" 23 #include "shm.h" 21 #include <bsp.h> 22 #include <shm.h> 24 23 25 24 /* -
c/src/lib/libbsp/m68k/idp/clock/ckinit.c
rbf61e45c r88d594a 27 27 #include <stdlib.h> 28 28 29 #include "rtems.h" 30 #include "clockdrv.h" 31 #include "bsp.h" 32 #include "cpu.h" 29 #include <rtems.h> 30 #include <clockdrv.h> 31 #include <bsp.h> 33 32 34 33 rtems_unsigned32 Clock_isrs; /* ISRs until next tick */ -
c/src/lib/libbsp/m68k/idp/include/bsp.h
rbf61e45c r88d594a 9 9 #define __IDP_BSP_H 10 10 11 #include "rtems.h" 12 #include "cpu.h" 13 #include "console.h" 14 #include "mc68230.h" 15 #include "mc68681.h" 11 #include <rtems.h> 12 #include <console.h> 13 #include <mc68230.h> 14 #include <mc68681.h> 16 15 17 16 /* -
c/src/lib/libbsp/m68k/idp/startup/bspstart.c
rbf61e45c r88d594a 21 21 */ 22 22 23 #include "rtems.h" 24 #include "bsp.h" 25 #include "cpu.h" 26 #include "libcsupport.h" 23 #include <rtems.h> 24 #include <bsp.h> 25 #include <libcsupport.h> 27 26 28 27 unsigned char *duart_base; -
c/src/lib/libbsp/m68k/idp/timer/timer.c
rbf61e45c r88d594a 28 28 29 29 30 #include "rtems.h" 31 #include "cpu.h" 32 #include "bsp.h" 33 #include "mc68230.h" 30 #include <rtems.h> 31 #include <bsp.h> 32 #include <mc68230.h> 34 33 35 34 #define TIMER_VECTOR 0x4D -
c/src/lib/libbsp/shmdr/poll.c
rbf61e45c r88d594a 17 17 * notice must appear in all copies of this file and its derivatives. 18 18 * 19 * $Id$19 * poll.c,v 1.2 1995/05/09 20:22:57 joel Exp 20 20 */ 21 21 22 22 #include <rtems.h> 23 #include <rtems/sysstate.h> 23 24 #include "shm.h" 24 25 #include "clockdrv.h" … … 30 31 Clock_isr( 0 ); /* invoke standard clock ISR */ 31 32 32 /* enable_tracing(); */ 33 /* ticks += 1; */ 34 Shm_Lock( Shm_Local_receive_queue ); 35 tmpfront = Shm_Local_receive_queue->front; 36 Shm_Unlock( Shm_Local_receive_queue ); 37 if ( Shm_Convert(tmpfront) == Shm_Locked_queue_End_of_list ) return; 38 rtems_multiprocessing_announce(); 39 Shm_Interrupt_count++; 33 34 /* 35 * Check for msgs only if we are "up" 36 * This avoids a race condition where we may get a clock 37 * interrupt before MPCI has completed its init 38 */ 39 40 if (_System_state_Is_up(_System_state_Get())) 41 { 42 /* enable_tracing(); */ 43 /* ticks += 1; */ 44 Shm_Lock( Shm_Local_receive_queue ); 45 tmpfront = Shm_Local_receive_queue->front; 46 Shm_Unlock( Shm_Local_receive_queue ); 47 if ( Shm_Convert(tmpfront) == Shm_Locked_queue_End_of_list ) return; 48 rtems_multiprocessing_announce(); 49 Shm_Interrupt_count++; 50 } 40 51 } -
c/src/lib/libbsp/shmdr/shm.h
rbf61e45c r88d594a 15 15 * notice must appear in all copies of this file and its derivatives. 16 16 * 17 * $Id$17 * shm.h,v 1.2 1995/05/09 20:23:03 joel Exp 18 18 */ 19 19 … … 24 24 extern "C" { 25 25 #endif 26 27 #include <cpu.h>28 26 29 27 /* The information contained in the Node Status, Locked Queue, and -
c/src/lib/libbsp/shmdr/shm_driver.h
rbf61e45c r88d594a 15 15 * notice must appear in all copies of this file and its derivatives. 16 16 * 17 * $Id$17 * shm.h,v 1.2 1995/05/09 20:23:03 joel Exp 18 18 */ 19 19 … … 24 24 extern "C" { 25 25 #endif 26 27 #include <cpu.h>28 26 29 27 /* The information contained in the Node Status, Locked Queue, and
Note: See TracChangeset
for help on using the changeset viewer.