Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 add noop wrapper functions for i386



details:   https://anonhg.NetBSD.org/src/rev/17e5d544c42a
branches:  trunk
changeset: 555263:17e5d544c42a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 13 01:44:36 2003 +0000

description:
add noop wrapper functions for i386

diffstat:

 sys/arch/i386/i386/mach_machdep.c |  19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r f46258a01485 -r 17e5d544c42a sys/arch/i386/i386/mach_machdep.c
--- a/sys/arch/i386/i386/mach_machdep.c Wed Nov 12 22:21:21 2003 +0000
+++ b/sys/arch/i386/i386/mach_machdep.c Thu Nov 13 01:44:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_machdep.c,v 1.11 2003/10/27 14:11:46 junyoung Exp $        */
+/*     $NetBSD: mach_machdep.c,v 1.12 2003/11/13 01:44:36 christos Exp $        */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_machdep.c,v 1.11 2003/10/27 14:11:46 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_machdep.c,v 1.12 2003/11/13 01:44:36 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_vm86.h"
@@ -202,3 +202,18 @@
        printf("mach_create_thread_child %p\n", arg);
 #endif
 }
+
+int
+mach_thread_get_state_machdep(struct lwp *l, int flavor, void *state,
+    int *size)
+{
+       printf("Unimplemented thread state flavor %d\n", flavor);
+       return EINVAL;
+}
+
+int
+mach_thread_set_state_machdep(struct lwp *l, int flavor, void *state)
+{
+       printf("Unimplemented thread state flavor %d\n", flavor);
+       return EINVAL;
+}



Home | Main Index | Thread Index | Old Index