Changeset 80d01b3c in rtems


Ignore:
Timestamp:
Feb 8, 2012, 2:57:03 PM (8 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
b4dfce9b
Parents:
67baf60
git-author:
Daniel Hellstrom <daniel@…> (02/08/12 14:57:03)
git-committer:
Gedare Bloom <gedare@…> (03/21/12 16:35:47)
Message:

SPARC: added libcpu lowlevel access and byteorder routines/definitions

The low level routines can be used in different occasions, it will be
required when accessing PCI.

Note the difference between byteorder.h (inlined functions) and access.S
where the functions will be declared in the library archive librtemscpu.a.
Function names starting with _ are in library and can be referenced by
function pointers.

Signed-off-by: Daniel Hellstrom <daniel@…>

Location:
c/src/lib
Files:
4 added
5 edited

Legend:

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

    r67baf60 r80d01b3c  
    6969endif
    7070
    71 libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/cache.rel \
     71libbsp_a_LIBADD  = \
     72    ../../../libcpu/@RTEMS_CPU@/access.rel \
     73    ../../../libcpu/@RTEMS_CPU@/cache.rel \
    7274    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
    7375    ../../../libcpu/@RTEMS_CPU@/syscall.rel
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r67baf60 r80d01b3c  
    119119
    120120libbsp_a_LIBADD = \
     121    ../../../libcpu/@RTEMS_CPU@/access.rel \
    121122    ../../../libcpu/@RTEMS_CPU@/cache.rel \
    122123    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r67baf60 r80d01b3c  
    127127endif
    128128
    129 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/cache.rel \
     129libbsp_a_LIBADD = \
     130    ../../../libcpu/@RTEMS_CPU@/access.rel \
     131    ../../../libcpu/@RTEMS_CPU@/cache.rel \
    130132    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
    131133    ../../../libcpu/@RTEMS_CPU@/syscall.rel
  • c/src/lib/libcpu/sparc/Makefile.am

    r67baf60 r80d01b3c  
    1111include_libcpudir = $(includedir)/libcpu
    1212include_libcpu_HEADERS = ../shared/include/cache.h
     13include_libcpu_HEADERS += include/libcpu/byteorder.h
     14include_libcpu_HEADERS += include/libcpu/access.h
    1315
    1416noinst_PROGRAMS += cache.rel
     
    3234reg_win_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3335
     36noinst_PROGRAMS += access.rel
     37access_rel_SOURCES = access/access.S access/access_le.c
     38access_rel_CPPFLAGS = $(AM_CPPFLAGS)
     39access_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     40
    3441include $(srcdir)/preinstall.am
    3542include $(top_srcdir)/../../../automake/local.am
  • c/src/lib/libcpu/sparc/preinstall.am

    r67baf60 r80d01b3c  
    2323PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
    2424
     25$(PROJECT_INCLUDE)/libcpu/byteorder.h: include/libcpu/byteorder.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     26        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/byteorder.h
     27PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/byteorder.h
     28
     29$(PROJECT_INCLUDE)/libcpu/access.h: include/libcpu/access.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     30        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/access.h
     31PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/access.h
     32
Note: See TracChangeset for help on using the changeset viewer.