Changeset 35eb7632 in rtems
- Timestamp:
- 03/31/04 04:22:15 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8cf4fac5
- Parents:
- 1d5c975
- Location:
- c/src/lib/libbsp/or32/orp
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/or32/orp/ChangeLog
r1d5c975 r35eb7632 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * clock/clockdrv.c, console/console.c, startup/bspstart.c, 4 timer/timer.c, timer/timerisr.c: Convert to using c99 fixed size 5 types. 6 1 7 2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
c/src/lib/libbsp/or32/orp/clock/clockdrv.c
r1d5c975 r35eb7632 37 37 */ 38 38 39 volatile rtems_unsigned32Clock_driver_ticks;39 volatile uint32_t Clock_driver_ticks; 40 40 41 41 /* … … 47 47 */ 48 48 49 rtems_unsigned32Clock_isrs; /* ISRs until next tick */49 uint32_t Clock_isrs; /* ISRs until next tick */ 50 50 51 51 /* … … 67 67 */ 68 68 69 void Clock_isr(u nsigned32vector,70 u nsigned32pc,71 u nsigned32ear,72 u nsigned32sr)69 void Clock_isr(uint32_t vector, 70 uint32_t pc, 71 uint32_t ear, 72 uint32_t sr) 73 73 { 74 74 register int pending; … … 98 98 void Install_clock() 99 99 { 100 u nsigned32tmp,sr,ttmr,ttcr;101 extern u nsigned32Or1k_Interrupt_Vectors[16];100 uint32_t tmp,sr,ttmr,ttcr; 101 extern uint32_t Or1k_Interrupt_Vectors[16]; 102 102 103 103 ttmr = TTMR_RESET; /* Reset value */ … … 130 130 old_handler = (void(*)(unsigned int,unsigned int,unsigned int,unsigned int)) 131 131 Or1k_Interrupt_Vectors[8]; 132 Or1k_Interrupt_Vectors[8] = (u nsigned32)Clock_isr;132 Or1k_Interrupt_Vectors[8] = (uint32_t)Clock_isr; 133 133 134 134 asm volatile ("l.mtspr r0,%0,0x11\n\t":: "r" (sr)); … … 200 200 ) 201 201 { 202 rtems_unsigned32isrlevel;202 uint32_t isrlevel; 203 203 rtems_libio_ioctl_args_t *args = pargp; 204 204 -
c/src/lib/libbsp/or32/orp/console/console.c
r1d5c975 r35eb7632 79 79 rtems_status_code status; 80 80 int tmp,tmp2; 81 u nsigned32sr;82 extern u nsigned32Or1k_Interrupt_Vectors[16];81 uint32_t sr; 82 extern uint32_t Or1k_Interrupt_Vectors[16]; 83 83 84 84 /* Make sure the UART (interrupt 2) is enabled and … … 101 101 old_handler = (void(*)(unsigned int,unsigned int,unsigned int,unsigned int)) 102 102 Or1k_Interrupt_Vectors[5]; 103 Or1k_Interrupt_Vectors[5] = (u nsigned32)console_interrupt;103 Or1k_Interrupt_Vectors[5] = (uint32_t)console_interrupt; 104 104 105 105 asm volatile ("l.mtspr r0,%0,0x11\n\t":: "r" (sr)); -
c/src/lib/libbsp/or32/orp/startup/bspstart.c
r1d5c975 r35eb7632 41 41 42 42 void bsp_postdriver_hook(void); 43 void bsp_libc_init( void *, u nsigned32, int );43 void bsp_libc_init( void *, uint32_t, int ); 44 44 45 45 /* … … 59 59 void bsp_pretasking_hook(void) 60 60 { 61 rtems_unsigned32heap_start;61 uint32_t heap_start; 62 62 63 heap_start = ( rtems_unsigned32) _mem_end;63 heap_start = (uint32_t) _mem_end; 64 64 if (heap_start & (CPU_ALIGNMENT-1)) 65 65 heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); -
c/src/lib/libbsp/or32/orp/timer/timer.c
r1d5c975 r35eb7632 22 22 #include <bsp.h> 23 23 24 rtems_unsigned32Timer_interrupts;24 uint32_t Timer_interrupts; 25 25 rtems_boolean Timer_driver_Find_average_overhead; 26 26 … … 57 57 int Read_timer( void ) 58 58 { 59 rtems_unsigned32clicks;60 rtems_unsigned32total;59 uint32_t clicks; 60 uint32_t total; 61 61 62 62 /* -
c/src/lib/libbsp/or32/orp/timer/timerisr.c
r1d5c975 r35eb7632 26 26 #include <rtems.h> 27 27 28 extern rtems_unsigned32_Timer_interrupts;28 extern uint32_t _Timer_interrupts; 29 29 30 30 void timerisr( void )
Note: See TracChangeset
for help on using the changeset viewer.