Changeset f37a3c2 in rtems


Ignore:
Timestamp:
Feb 6, 2015, 10:10:17 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
e3c9937
Parents:
7a03ac29
git-author:
Daniel Hellstrom <daniel@…> (02/06/15 10:10:17)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:22)
Message:

GPTIMER: fix build warnings

Location:
c/src/lib/libbsp/sparc
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/Makefile.am

    r7a03ac29 rf37a3c2  
    3434
    3535# Clock Driver and Timer Library
     36EXTRA_DIST += shared/include/gptimer.h
    3637EXTRA_DIST += shared/include/tlib.h
    3738EXTRA_DIST += shared/timer/gptimer.c
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r7a03ac29 rf37a3c2  
    9393
    9494# Clock Driver and Timer Library
     95include_HEADERS += ../../sparc/shared/include/gptimer.h
    9596include_HEADERS += ../../sparc/shared/include/tlib.h
    9697libbsp_a_SOURCES += ../../sparc/shared/timer/gptimer.c
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r7a03ac29 rf37a3c2  
    114114PREINSTALL_FILES += $(PROJECT_INCLUDE)/ahbstat.h
    115115
     116$(PROJECT_INCLUDE)/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/$(dirstamp)
     117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gptimer.h
     118PREINSTALL_FILES += $(PROJECT_INCLUDE)/gptimer.h
     119
    116120$(PROJECT_INCLUDE)/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/$(dirstamp)
    117121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tlib.h
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r7a03ac29 rf37a3c2  
    7171
    7272# Clock Driver and Timer Library
     73include_HEADERS += ../../sparc/shared/include/gptimer.h
    7374include_HEADERS += ../../sparc/shared/include/tlib.h
    7475libbsp_a_SOURCES += ../../sparc/shared/timer/gptimer.c
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r7a03ac29 rf37a3c2  
    109109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ahbstat.h
    110110PREINSTALL_FILES += $(PROJECT_INCLUDE)/ahbstat.h
     111
     112$(PROJECT_INCLUDE)/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/$(dirstamp)
     113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gptimer.h
     114PREINSTALL_FILES += $(PROJECT_INCLUDE)/gptimer.h
    111115
    112116$(PROJECT_INCLUDE)/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/$(dirstamp)
  • c/src/lib/libbsp/sparc/shared/timer/gptimer.c

    r7a03ac29 rf37a3c2  
    3838#include <drvmgr/ambapp_bus.h>
    3939#include <grlib.h>
     40#include <gptimer.h>
    4041#include "tlib.h"
    4142
     
    380381}
    381382
    382 int gptimer_tlib_int_pend(struct tlib_dev *hand, int ack)
     383static int gptimer_tlib_int_pend(struct tlib_dev *hand, int ack)
    383384{
    384385        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    416417}
    417418
    418 void gptimer_tlib_reset(struct tlib_dev *hand)
     419static void gptimer_tlib_reset(struct tlib_dev *hand)
    419420{
    420421        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
     
    509510}
    510511
    511 static void gptimer_tlib_get_counter(struct tlib_dev *hand, unsigned int *counter)
     512static void gptimer_tlib_get_counter(
     513        struct tlib_dev *hand,
     514        unsigned int *counter)
    512515{
    513516        struct gptimer_timer *timer = (struct gptimer_timer *)hand;
Note: See TracChangeset for help on using the changeset viewer.