mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-27 03:05:50 +00:00
Moved include files to hppa1.1 subdirectory and put their sources
in the include directory.
This commit is contained in:
@@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
|||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||||
|
|
||||||
SUB_DIRS = include milli runway clock timer semaphore
|
SUB_DIRS = include milli clock timer semaphore
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
@@ -13,13 +13,32 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
|||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
H_FILES = $(srcdir)/runway.h $(srcdir)/semaphore.h
|
||||||
|
|
||||||
|
SRCS = $(H_FILES)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
||||||
|
|
||||||
all: FORCEIT
|
INSTALLDIRS = $(PROJECT_INCLUDE)/hppa1.1
|
||||||
cd ../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
|
|
||||||
|
$(INSTALLDIRS):
|
||||||
|
@$(mkinstalldirs) $(INSTALLDIRS)
|
||||||
|
|
||||||
|
CLEAN_ADDITIONS +=
|
||||||
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
|
all: install
|
||||||
|
|
||||||
|
# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
|
||||||
|
# file name conflicts
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(mkinstalldirs) $(PROJECT_INCLUDE)/hppa1.1
|
||||||
|
@$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/hppa1.1
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
|
|||||||
37
c/src/lib/libcpu/hppa1.1/include/runway.h
Normal file
37
c/src/lib/libcpu/hppa1.1/include/runway.h
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
* File: $RCSfile$
|
||||||
|
* Project: PixelFlow
|
||||||
|
* Created: 94/11/29
|
||||||
|
* RespEngr: tony bennett
|
||||||
|
* Revision: $Revision$
|
||||||
|
* Last Mod: $Date$
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* definitions specific to the runway bus
|
||||||
|
*
|
||||||
|
* TODO:
|
||||||
|
* Add lots more.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _INCLUDE_RUNWAY_H
|
||||||
|
#define _INCLUDE_RUNWAY_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define HPPA_RUNWAY_PROC_HPA_BASE ((void *) 0xFFFA0000)
|
||||||
|
|
||||||
|
/* given a processor number, where is its HPA? */
|
||||||
|
#define HPPA_RUNWAY_HPA(cpu) \
|
||||||
|
((rtems_unsigned32) (HPPA_RUNWAY_PROC_HPA_BASE + ((cpu) * 0x2000)))
|
||||||
|
|
||||||
|
#define HPPA_RUNWAY_REG_IO_EIR_OFFSET 0x000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* ! _INCLUDE_RUNWAY_H */
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _INCLUDE_SEMAPHORE_H
|
#ifndef _INCLUDE_HPPA1_1_SEMAPHORE_H
|
||||||
#define _INCLUDE_SEMAPHORE_H
|
#define _INCLUDE_HPPA1_1_SEMAPHORE_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -20,7 +20,7 @@ C_PIECES = semaphore
|
|||||||
C_FILES = $(C_PIECES:%=%.c)
|
C_FILES = $(C_PIECES:%=%.c)
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
||||||
|
|
||||||
H_PIECES = semaphore
|
H_PIECES =
|
||||||
H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
|
H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
|
||||||
|
|
||||||
# Assembly source names, if any, go here -- minus the .S
|
# Assembly source names, if any, go here -- minus the .S
|
||||||
@@ -37,7 +37,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
|||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_INCLUDE)
|
INSTALLDIRS = $(PROJECT_INCLUDE)/hppa1.1
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
$(INSTALLDIRS):
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
@$(mkinstalldirs) $(INSTALLDIRS)
|
||||||
@@ -63,7 +63,6 @@ ${PGM}: ${SRCS} ${OBJS}
|
|||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
all: ${ARCH} $(SRCS) $(PGM)
|
||||||
@$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|
||||||
#include "semaphore.h"
|
#include <hppa1.1/semaphore.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Report fatal semaphore error
|
* Report fatal semaphore error
|
||||||
|
|||||||
Reference in New Issue
Block a user