Changeset 6de41c5f in rtems


Ignore:
Timestamp:
Oct 27, 2016, 6:24:50 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
eb98dd49
Parents:
6cb234f
git-author:
Sebastian Huber <sebastian.huber@…> (10/27/16 06:24:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/08/16 09:15:28)
Message:

Provide kernel space header files

These kernel space header files must be provided for Newlib
172e2050d95b41861db858dd9bc43a3fb4a28987.

Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/Makefile.am

    r6cb234f r6de41c5f  
    2323include_rtems_HEADERS += include/rtems/termiostypes.h
    2424include_rtems_HEADERS += include/rtems/gxx_wrappers.h
     25
     26include_machinedir = $(includedir)/machine
     27include_machine_HEADERS =
     28include_machine_HEADERS += include/machine/_kernel_time.h
     29include_machine_HEADERS += include/machine/_kernel_types.h
    2530
    2631##  General stuff
  • cpukit/libcsupport/preinstall.am

    r6cb234f r6de41c5f  
    7575PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/gxx_wrappers.h
    7676
     77$(PROJECT_INCLUDE)/machine/$(dirstamp):
     78        @$(MKDIR_P) $(PROJECT_INCLUDE)/machine
     79        @: > $(PROJECT_INCLUDE)/machine/$(dirstamp)
     80PREINSTALL_DIRS += $(PROJECT_INCLUDE)/machine/$(dirstamp)
     81
     82$(PROJECT_INCLUDE)/machine/_kernel_time.h: include/machine/_kernel_time.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/_kernel_time.h
     84PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/_kernel_time.h
     85
     86$(PROJECT_INCLUDE)/machine/_kernel_types.h: include/machine/_kernel_types.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/_kernel_types.h
     88PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/_kernel_types.h
     89
  • cpukit/libnetworking/Makefile.am

    r6cb234f r6de41c5f  
    5656include_machine_HEADERS += machine/cpufunc.h
    5757include_machine_HEADERS += machine/in_cksum.h
     58include_machine_HEADERS += machine/_kernel_lock.h
    5859include_machine_HEADERS += machine/vmparam.h
    5960
  • cpukit/libnetworking/preinstall.am

    r6cb234f r6de41c5f  
    7474PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/in_cksum.h
    7575
     76$(PROJECT_INCLUDE)/machine/_kernel_lock.h: machine/_kernel_lock.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
     77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/_kernel_lock.h
     78PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine/_kernel_lock.h
     79
    7680$(PROJECT_INCLUDE)/machine/vmparam.h: machine/vmparam.h $(PROJECT_INCLUDE)/machine/$(dirstamp)
    7781        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/machine/vmparam.h
  • cpukit/score/src/kern_tc.c

    r6cb234f r6de41c5f  
    1515
    1616#ifdef __rtems__
     17#include <sys/lock.h>
    1718#define _KERNEL
    1819#define binuptime(_bt) _Timecounter_Binuptime(_bt)
  • testsuites/sptests/sptimecounter02/init.c

    r6cb234f r6de41c5f  
    1717#endif
    1818
     19#include <sys/lock.h>
     20
    1921#define _KERNEL
    2022
Note: See TracChangeset for help on using the changeset viewer.