add noop wrapper functions for i386

This commit is contained in:
christos 2003-11-13 01:44:36 +00:00
parent 803f13c062
commit a0e314dfe4

View File

@ -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 @@ mach_create_thread_child(arg)
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;
}