summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-13 15:03:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-13 15:03:04 +0000
commitbd00319d3910d49faea67726998ae27cffe59b57 (patch)
tree5004175b21504bcfe3126e33f9ddfcd8aafe9409 /cpukit
parent2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-bd00319d3910d49faea67726998ae27cffe59b57.tar.bz2
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* asm.h: New (stub file. For consistency with other ports, only). * Makefile.am: Add asm.h.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/unix/ChangeLog5
-rw-r--r--cpukit/score/cpu/unix/Makefile.am12
-rw-r--r--cpukit/score/cpu/unix/asm.h33
-rw-r--r--cpukit/score/cpu/unix/rtems/asm.h33
4 files changed, 83 insertions, 0 deletions
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 <ralf_corsepius@rtems.org>
+
+ * asm.h: New (stub file. For consistency with other ports, only).
+ * Makefile.am: Add asm.h.
+
2004-04-12 Ralf Corsepius <ralf_corsepius@rtems.org>
* 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 <rtems/score/cpuopts.h>
+#include <rtems/score/unix.h>
+
+#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 <rtems/score/cpuopts.h>
+#include <rtems/score/unix.h>
+
+#endif