summaryrefslogtreecommitdiff
path: root/config/tru64
diff options
context:
space:
mode:
Diffstat (limited to 'config/tru64')
-rw-r--r--config/tru64/define.h3
-rw-r--r--config/tru64/rswitch.s46
-rw-r--r--config/tru64/status2
3 files changed, 0 insertions, 51 deletions
diff --git a/config/tru64/define.h b/config/tru64/define.h
index 78cee03..e06d824 100644
--- a/config/tru64/define.h
+++ b/config/tru64/define.h
@@ -5,6 +5,3 @@
/* standard Unix and C */
#define UNIX 1
#define LoadFunc
-
-/* c89 is ANSI C compiler */
-#define CComp "c89"
diff --git a/config/tru64/rswitch.s b/config/tru64/rswitch.s
deleted file mode 100644
index a4589d4..0000000
--- a/config/tru64/rswitch.s
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * coswitch(old_cs, new_cs, first) for Dec Alpha architecture
- * $16 $17 $18
- */
- .data
-errmsg: .ascii "new_context() returned in coswitch\X00"
-
- .text
- .globl coswitch
- .ent coswitch
-coswitch:
- lda $sp, -72($sp) /* make room on stack */
- stq $sp, 0($16) /* save stack pointer */
- stq $9, 0($sp) /* save registers on stack */
- stq $10, 8($sp)
- stq $11, 16($sp)
- stq $12, 24($sp)
- stq $13, 32($sp)
- stq $14, 40($sp)
- stq $15, 48($sp)
- stq $27, 56($sp)
- stq $26, 64($sp) /* return address */
- beq $18, first /* if first time */
-
- ldq $sp, 0($17) /* load new stack pointer */
- ldq $9, 0($sp) /* load registers from stack */
- ldq $10, 8($sp)
- ldq $11, 16($sp)
- ldq $12, 24($sp)
- ldq $13, 32($sp)
- ldq $14, 40($sp)
- ldq $15, 48($sp)
- ldq $27, 56($sp)
- ldq $26, 64($sp) /* return address */
- lda $sp, 72($sp) /* reset sp */
- jsr_coroutine $31, ($26), 0 /* jump into new_context */
-
-first:
- ldq $sp, 0($17) /* load stack pointer only */
- bis $31, $31, $16 /* r16 = 0 */
- bis $31, $31, $17 /* r17 = 0 */
- jsr $26, new_context /* new_context(0,0) */
- lda $16, errmsg
- jsr $26, syserr /* shouldn't get here */
-
- .end coswitch
diff --git a/config/tru64/status b/config/tru64/status
index 15851f0..b1e9ac1 100644
--- a/config/tru64/status
+++ b/config/tru64/status
@@ -21,8 +21,6 @@ Comments:
Tested on: NekoTech "Jaguar" running Digital Unix 4.0B rev 564
and Compaq AlphaStation 600 running Digital Unix 4.0F rev 1229.
- This configuration can use pthreads for context switching.
-
Date:
October 5, 2005