From 191abc516c6f0ecd02f84ec98994b223252b48d7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 17 Aug 1995 09:00:05 +0000 Subject: Wed Aug 16 17:04:26 1995 Roland McGrath * hurd/intr-msg.c: Fixed calculation of syscall %esp. Tue Aug 15 12:26:18 1995 Roland McGrath * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'. * hurd/Makefile (sig): Add intr-msg. --- hurd/hurdsig.c | 2 +- hurd/intr-msg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd') diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 7dd2b8c2fc..10dbceb4f4 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -267,7 +267,7 @@ interrupted_reply_port_location (struct machine_thread_all_state *thread_state, *STATE_CHANGE is set nonzero if STATE->basic was modified and should be applied back to the thread if it might ever run again, else zero. */ -static mach_port_t +mach_port_t _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread, struct machine_thread_all_state *state, int *state_change, mach_port_t *reply_port, diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index cdcd8d51ea..6f670b538f 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -66,7 +66,7 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, " movl $-25, %%eax\n" "_hurd_intr_rpc_msg_do_trap: lcall $7, $0 # status in %0\n" "_hurd_intr_rpc_msg_in_trap: movl %%ecx, %%esp" - : "=a" (err) : "m" ((&msg)[1]) : "%ecx"); + : "=a" (err) : "m" ((&msg)[-1]) : "%ecx"); switch (err) { -- cgit 1.4.1