Module Name: src Committed By: pooka Date: Mon Nov 9 19:17:42 UTC 2009
Modified Files: src/sys/rump/librump/rumpkern: rump_private.h Log Message: Hash out soft interrupts to be a little closer to real softints: * split them into levels * allow only one per level to be active at a time * fire softints only when we are unscheduling from a CPU instead of immediately in softint_schedule(). this will later morph into return from interrupt, but that part isn't done yet. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/rump/librump/rumpkern/rump_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpkern/rump_private.h diff -u src/sys/rump/librump/rumpkern/rump_private.h:1.34 src/sys/rump/librump/rumpkern/rump_private.h:1.35 --- src/sys/rump/librump/rumpkern/rump_private.h:1.34 Fri Oct 16 00:14:53 2009 +++ src/sys/rump/librump/rumpkern/rump_private.h Mon Nov 9 19:17:42 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: rump_private.h,v 1.34 2009/10/16 00:14:53 pooka Exp $ */ +/* $NetBSD: rump_private.h,v 1.35 2009/11/09 19:17:42 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -31,7 +31,7 @@ #define _SYS_RUMP_PRIVATE_H_ #include <sys/param.h> -#include <sys/systm.h> +#include <sys/cpu.h> #include <sys/lwp.h> #include <sys/proc.h> #include <sys/systm.h> @@ -101,4 +101,6 @@ void kernel_unlock_allbutone(int *); void kernel_ununlock_allbutone(int); +void rump_softint_run(struct cpu_info *); + #endif /* _SYS_RUMP_PRIVATE_H_ */