From bd00319d3910d49faea67726998ae27cffe59b57 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 13 Apr 2004 15:03:04 +0000 Subject: 2004-04-13 Ralf Corsepius * asm.h: New (stub file. For consistency with other ports, only). * Makefile.am: Add asm.h. --- cpukit/score/cpu/unix/ChangeLog | 5 +++++ cpukit/score/cpu/unix/Makefile.am | 12 ++++++++++++ cpukit/score/cpu/unix/asm.h | 33 +++++++++++++++++++++++++++++++++ cpukit/score/cpu/unix/rtems/asm.h | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 cpukit/score/cpu/unix/asm.h create mode 100644 cpukit/score/cpu/unix/rtems/asm.h (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index 48aee7b0cc..80d0db7c68 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,8 @@ +2004-04-13 Ralf Corsepius + + * asm.h: New (stub file. For consistency with other ports, only). + * Makefile.am: Add asm.h. + 2004-04-12 Ralf Corsepius * rtems/score/cpu.h: Remove defining _POSIX_C_SOURCE for solaris. diff --git a/cpukit/score/cpu/unix/Makefile.am b/cpukit/score/cpu/unix/Makefile.am index df8b677a16..5da21f5edc 100644 --- a/cpukit/score/cpu/unix/Makefile.am +++ b/cpukit/score/cpu/unix/Makefile.am @@ -6,6 +6,9 @@ include $(top_srcdir)/automake/compile.am AM_CPPFLAGS += -DCPU_SYNC_IO +include_rtemsdir = $(includedir)/rtems +include_rtems_HEADERS = asm.h + include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/types.h rtems/score/cpu.h \ rtems/score/unix.h @@ -25,6 +28,15 @@ all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_DIRS = PREINSTALL_FILES = +$(PROJECT_INCLUDE)/rtems/$(dirstamp): + @$(mkdir_p) $(PROJECT_INCLUDE)/rtems + @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) + +$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h + $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) diff --git a/cpukit/score/cpu/unix/asm.h b/cpukit/score/cpu/unix/asm.h new file mode 100644 index 0000000000..820e1ec050 --- /dev/null +++ b/cpukit/score/cpu/unix/asm.h @@ -0,0 +1,33 @@ +/* asm.h + * + * This include file attempts to address the problems + * caused by incompatible flavors of assemblers and + * toolsets. It primarily addresses variations in the + * use of leading underscores on symbols and the requirement + * that register names be preceded by a %. + * + * This file is a "just an incomplete stub" and provided for consistency + * with other ports, only. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef __UNIX_ASM_h +#define __UNIX_ASM_h + +/* + * Indicate we are in an assembly file and get the basic CPU definitions. + */ + +#ifndef ASM +#define ASM +#endif + +#include +#include + +#endif diff --git a/cpukit/score/cpu/unix/rtems/asm.h b/cpukit/score/cpu/unix/rtems/asm.h new file mode 100644 index 0000000000..820e1ec050 --- /dev/null +++ b/cpukit/score/cpu/unix/rtems/asm.h @@ -0,0 +1,33 @@ +/* asm.h + * + * This include file attempts to address the problems + * caused by incompatible flavors of assemblers and + * toolsets. It primarily addresses variations in the + * use of leading underscores on symbols and the requirement + * that register names be preceded by a %. + * + * This file is a "just an incomplete stub" and provided for consistency + * with other ports, only. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef __UNIX_ASM_h +#define __UNIX_ASM_h + +/* + * Indicate we are in an assembly file and get the basic CPU definitions. + */ + +#ifndef ASM +#define ASM +#endif + +#include +#include + +#endif -- cgit v1.2.3