summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/hppa1.1/rtems.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-06-27 21:21:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-06-27 21:21:45 +0000
commit6ba9c27971af14037d507633705656d3d3bb2fef (patch)
tree98e4f7d78b28942cab582e540384020bc649f6b6 /c/src/exec/score/cpu/hppa1.1/rtems.S
parent2002-06-25 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-6ba9c27971af14037d507633705656d3d3bb2fef.tar.bz2
2002-06-27 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, cpu.c, cpu_asm.S, rtems.S: Modified to make this all compile again. It has been a while since we have had a semi-working hppa1.1-rtems cross compiler. :)
Diffstat (limited to 'c/src/exec/score/cpu/hppa1.1/rtems.S')
-rw-r--r--c/src/exec/score/cpu/hppa1.1/rtems.S25
1 files changed, 25 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/hppa1.1/rtems.S b/c/src/exec/score/cpu/hppa1.1/rtems.S
index a16f57c114..c4f1c91238 100644
--- a/c/src/exec/score/cpu/hppa1.1/rtems.S
+++ b/c/src/exec/score/cpu/hppa1.1/rtems.S
@@ -16,6 +16,28 @@
#include <rtems/score/hppa.h>
#include <rtems/score/cpu_asm.h>
+#if 0
+#define TEXT_SEGMENT \
+ .SPACE $TEXT$ !\
+ .SUBSPA $CODE$
+#define RO_SEGMENT \
+ .SPACE $TEXT$ !\
+ .SUBSPA $lit$
+#define DATA_SEGMENT \
+ .SPACE $PRIVATE$ !\
+ .SUBSPA $data$
+#define BSS_SEGMENT \
+ .SPACE $PRIVATE$ !\
+ .SUBSPA $bss$
+#else
+#define TEXT_SEGMENT .text
+#define RO_SEGMENT .rodata
+#define DATA_SEGMENT .data
+#define BSS_SEGMENT .bss
+#endif
+
+
+#if 0
.SPACE $PRIVATE$
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
@@ -24,7 +46,9 @@
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
.SPACE $TEXT$
.SUBSPA $CODE$
+#endif
+ TEXT_SEGMENT
.align 32
.EXPORT cpu_jump_to_directive,ENTRY,PRIV_LEV=0
cpu_jump_to_directive
@@ -32,6 +56,7 @@ cpu_jump_to_directive
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
+
# invoke user interrupt handler
# XXX: look at register usage and code