summaryrefslogtreecommitdiffstats
path: root/lib/libc/alpha/gen
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-11-16 06:39:11 +0000
committerdeischen <deischen@FreeBSD.org>2002-11-16 06:39:11 +0000
commit4cf0594a9e451bc0c48f368bd1ec2f064332e2ca (patch)
tree187b54e82ccf9846c652fe26a47e02311b8b31e2 /lib/libc/alpha/gen
parent8ef1ab287a2d479cb2b67fe15b960270c87809ab (diff)
downloadFreeBSD-src-4cf0594a9e451bc0c48f368bd1ec2f064332e2ca.zip
FreeBSD-src-4cf0594a9e451bc0c48f368bd1ec2f064332e2ca.tar.gz
Disconnect the userland get/set/swapcontext() functions from
libc. I want to keep these in some version for the thread library/ies, but don't know whether to have them repo-copied to libc_r or renamed and kept in libc. Change the name of an alpha macro that was changed with the system call commit.
Diffstat (limited to 'lib/libc/alpha/gen')
-rw-r--r--lib/libc/alpha/gen/Makefile.inc2
-rw-r--r--lib/libc/alpha/gen/makecontext.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/alpha/gen/Makefile.inc b/lib/libc/alpha/gen/Makefile.inc
index 32c80d8..4e9d287 100644
--- a/lib/libc/alpha/gen/Makefile.inc
+++ b/lib/libc/alpha/gen/Makefile.inc
@@ -8,7 +8,7 @@ SRCS+= sigsetjmp.S
SRCS+= __divqu.S __divq.S __divlu.S __divl.S
SRCS+= __remqu.S __remq.S __remlu.S __reml.S
SRCS+= rfork_thread.S
-SRCS+= _ctx_start.S getcontext.S makecontext.c swapcontext.c
+SRCS+= _ctx_start.S makecontext.c
CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
diff --git a/lib/libc/alpha/gen/makecontext.c b/lib/libc/alpha/gen/makecontext.c
index fa9856d..8adc137 100644
--- a/lib/libc/alpha/gen/makecontext.c
+++ b/lib/libc/alpha/gen/makecontext.c
@@ -90,7 +90,7 @@ __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
* Make sure the context is valid. For now, we only allow
* trapframe format contexts to be used for makecontext.
*/
- else if (ucp->uc_mcontext.mc_format == __UC_REV0_SIGFRAME) {
+ else if (ucp->uc_mcontext.mc_format == _MC_REV0_SIGFRAME) {
/*
* Alpha passes the first 6 parameters in registers and
* remaining parameters on the stack. Set up the context
OpenPOWER on IntegriCloud