Changeset cf6bc1e in rtems
- Timestamp:
- 10/12/14 20:37:32 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 19612c1
- Parents:
- 175c85b
- 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/mc9328mxl/clock/clockdrv.c
r175c85b rcf6bc1e 1 1 /* 2 2 * MC9328MXL clock specific using the System Timer 3 * 4 * This is hardware specific part of the clock driver. At the end of this 5 * file, the generic part of the driver is #included. 6 * 3 */ 4 5 /* 7 6 * Copyright (c) 2004 by Cogent Computer Systems 8 7 * Written by Jay Monkman <jtm@lopingdog.com> … … 40 39 * - restart the timer? 41 40 */ 42 #define Clock_driver_support_at_tick() \ 43 do { \ 44 uint32_t reg; \ 45 reg = MC9328MXL_TMR1_TSTAT; \ 46 MC9328MXL_TMR1_TSTAT = 0; \ 41 #define Clock_driver_support_at_tick() \ 42 do { \ 43 uint32_t reg; \ 44 \ 45 reg = MC9328MXL_TMR1_TSTAT; \ 46 (void) reg; /* avoid set but not used warning */ \ 47 MC9328MXL_TMR1_TSTAT = 0; \ 47 48 } while(0) 48 49 … … 55 56 BSP_install_rtems_irq_handler(&clock_isr_data); \ 56 57 } while(0) 57 58 58 59 59 /**
Note: See TracChangeset
for help on using the changeset viewer.