Changeset b6b0c80c in rtems
- Timestamp:
- 10/12/14 20:37:32 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 175c85b
- Parents:
- 65f71f84
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 20:37:32)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/arm/at91rm9200/clock/clock.c
r65f71f84 rb6b0c80c 1 1 /* 2 2 * AT91RM9200 clock specific using the System Timer 3 * 3 */ 4 5 /* 4 6 * Copyright (c) 2003 by Cogent Computer Systems 5 7 * Written by Mike Kelly <mike@cogcomp.com> … … 77 79 78 80 uint16_t st_pimr_value; 79 void Clock_driver_support_initialize_hardware(void)81 static void Clock_driver_support_initialize_hardware(void) 80 82 { 81 83 uint32_t st_str; … … 90 92 /* read the status to clear the int */ 91 93 st_str = ST_REG(ST_SR); 94 (void) st_str; /* avoid set but not used warning */ \ 92 95 93 96 /* set priority */ … … 98 101 } 99 102 100 uint32_t bsp_clock_nanoseconds_since_last_tick(void)103 static uint32_t bsp_clock_nanoseconds_since_last_tick(void) 101 104 { 102 105 uint16_t slck_counts; … … 116 119 /* read the status to clear the int */ \ 117 120 st_str = ST_REG(ST_SR); \ 121 (void) st_str; /* avoid set but not used warning */ \ 118 122 } while (0) 119 123 120 void Clock_driver_support_shutdown_hardware( void )124 static void Clock_driver_support_shutdown_hardware( void ) 121 125 { 122 126 BSP_remove_rtems_irq_handler(&clock_isr_data);
Note: See TracChangeset
for help on using the changeset viewer.