few panicky functions

This commit is contained in:
pooka 2007-08-26 23:51:08 +00:00
parent 9157302845
commit dbce9b9f2c
2 changed files with 29 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: emul.c,v 1.10 2007/08/20 15:58:14 pooka Exp $ */
/* $NetBSD: emul.c,v 1.11 2007/08/26 23:51:08 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -315,3 +315,23 @@ workqueue_enqueue(struct workqueue *wq, struct work *wk0, struct cpu_info *ci)
{
}
void
callout_init(callout_t *c, u_int flags)
{
}
void
callout_reset(callout_t *c, int ticks, void (*func)(void *), void *arg)
{
panic("%s: not implemented", __func__);
}
bool
callout_stop(callout_t *c)
{
panic("%s: not implemented", __func__);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm.c,v 1.13 2007/08/20 15:58:14 pooka Exp $ */
/* $NetBSD: vm.c,v 1.14 2007/08/26 23:51:08 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -346,6 +346,13 @@ uvm_pagelookup(struct uvm_object *uobj, voff_t off)
return NULL;
}
struct vm_page *
uvm_pageratop(vaddr_t va)
{
panic("%s: unimplemented", __func__);
}
void
uvm_estimatepageable(int *active, int *inactive)
{