diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-06 11:10:17 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:22 +0200 |
commit | f37a3c229ea1ac1c27d67ddb1ced9fa91dea8c80 (patch) | |
tree | 189666b31a57b554bb07d2ca8b78dc4b38a4368b /c/src/lib/libbsp/sparc/shared/include | |
parent | APBUART_CONS: fix build warning (diff) | |
download | rtems-f37a3c229ea1ac1c27d67ddb1ced9fa91dea8c80.tar.bz2 |
GPTIMER: fix build warnings
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/gptimer.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/gptimer.h b/c/src/lib/libbsp/sparc/shared/include/gptimer.h new file mode 100644 index 0000000000..0adea8afb3 --- /dev/null +++ b/c/src/lib/libbsp/sparc/shared/include/gptimer.h @@ -0,0 +1,30 @@ +/* GPTIMER and GRTIMER timer driver + * + * COPYRIGHT (c) 2015. + * Cobham Gaisler. + * + * The license and distribution terms for this file may be + * found in found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + */ + +#ifndef __GPTIMER_H__ +#define __GPTIMER_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +/* The GPTIMER_INFO_AVAIL define set from the BSP bsp.h configures if the + * Driver manager info interface is built. + */ + +/* Register GPTIMER and GRTIMER driver to Driver Manager */ +void gptimer_register_drv (void); + +#ifdef __cplusplus +} +#endif + +#endif |