summaryrefslogtreecommitdiff
path: root/config/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'config/hurd')
-rw-r--r--config/hurd/define.h3
-rw-r--r--config/hurd/rswitch.c27
2 files changed, 0 insertions, 30 deletions
diff --git a/config/hurd/define.h b/config/hurd/define.h
index 5bbb3e0..1a81c6c 100644
--- a/config/hurd/define.h
+++ b/config/hurd/define.h
@@ -4,6 +4,3 @@
#define UNIX 1
#define LoadFunc
-
-#define CComp "gcc"
-#define COpts "-O -fomit-frame-pointer"
diff --git a/config/hurd/rswitch.c b/config/hurd/rswitch.c
deleted file mode 100644
index 4a9def0..0000000
--- a/config/hurd/rswitch.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * This is the co-expression context switch for the GNU system.
- */
-
-/*
- * coswitch
- */
-
-coswitch(old_cs, new_cs, first)
-int *old_cs, *new_cs;
-int first;
- {
- asm(" movl 8(%ebp),%eax");
- asm(" movl %esp,0(%eax)");
- asm(" movl %ebp,4(%eax)");
- asm(" movl 12(%ebp),%eax");
- if (first == 0) { /* this is the first activation */
- asm(" movl 0(%eax),%esp");
- asm(" movl $0,%ebp");
- new_context(0, 0);
- syserr("interp() returned in coswitch");
- }
- else {
- asm(" movl 0(%eax),%esp");
- asm(" movl 4(%eax),%ebp");
- }
- }