From 65bd8e139a8368e987455a10ec59dd7b079b3af1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 16 Jul 2006 01:15:28 +0000 Subject: New scheduler. Removed cli and sti stack in favor of tracking number of locks held on each CPU and explicit conditionals in spinlock.c. --- syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syscall.c') diff --git a/syscall.c b/syscall.c index e03901d..420a578 100644 --- a/syscall.c +++ b/syscall.c @@ -34,8 +34,9 @@ fetchint(struct proc *p, unsigned addr, int *ip) return 0; } +// This arg is void* so that both int* and uint* can be passed. int -fetcharg(int argno, int *ip) +fetcharg(int argno, void *ip) { unsigned esp; -- cgit v1.2.3