diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-06-27 21:21:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-06-27 21:21:45 +0000 |
commit | 6ba9c27971af14037d507633705656d3d3bb2fef (patch) | |
tree | 98e4f7d78b28942cab582e540384020bc649f6b6 /cpukit/score/cpu/hppa1.1/cpu_asm.S | |
parent | 2002-06-25 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/score/cpu/hppa1.1/cpu_asm.S | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/cpukit/score/cpu/hppa1.1/cpu_asm.S b/cpukit/score/cpu/hppa1.1/cpu_asm.S index 1c6874f8a9..7ad9b39810 100644 --- a/cpukit/score/cpu/hppa1.1/cpu_asm.S +++ b/cpukit/score/cpu/hppa1.1/cpu_asm.S @@ -23,6 +23,29 @@ #include <rtems/score/cpu.h> #include <rtems/score/offsets.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 @@ -32,6 +55,9 @@ .SPACE $TEXT$ .SUBSPA $CODE$ +#endif + TEXT_SEGMENT + /* * Special register usage for context switch and interrupts * Stay away from %cr28 which is used for TLB misses on 72000 @@ -311,7 +337,7 @@ stack_done: .import _ISR_Vector_table,data ldil L%_ISR_Vector_table,%r8 ldo R%_ISR_Vector_table(%r8),%r8 - ldw (%r8),%r8 + ldw 0(%r8),%r8 ldwx,s %r9(%r8),%r8 /* |