Module Name: src Committed By: pooka Date: Mon Sep 7 20:56:04 UTC 2009
Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: provide pmf stubs To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/rump/librump/rumpkern/emul.c 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/emul.c diff -u src/sys/rump/librump/rumpkern/emul.c:1.93 src/sys/rump/librump/rumpkern/emul.c:1.94 --- src/sys/rump/librump/rumpkern/emul.c:1.93 Sun Sep 6 19:14:54 2009 +++ src/sys/rump/librump/rumpkern/emul.c Mon Sep 7 20:56:04 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: emul.c,v 1.93 2009/09/06 19:14:54 pooka Exp $ */ +/* $NetBSD: emul.c,v 1.94 2009/09/07 20:56:04 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.93 2009/09/06 19:14:54 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.94 2009/09/07 20:56:04 pooka Exp $"); #include <sys/param.h> #include <sys/malloc.h> @@ -760,6 +760,23 @@ return tstohz(ts); } +bool +pmf_device_register1(struct device *dev, + bool (*suspend)(device_t PMF_FN_PROTO), + bool (*resume)(device_t PMF_FN_PROTO), + bool (*shutdown)(device_t, int)) +{ + + return true; +} + +void +pmf_device_deregister(struct device *dev) +{ + + /* nada */ +} + /* XXX: static, but not used except to make spcopy.S link */ #ifdef __hppa__