Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Add a few symbols used by the tty ...



details:   https://anonhg.NetBSD.org/src/rev/ca393055f817
branches:  trunk
changeset: 750752:ca393055f817
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 13 01:18:51 2010 +0000

description:
Add a few symbols used by the tty code.

diffstat:

 sys/rump/librump/rumpkern/emul.c |  33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r 6e1bca64a03f -r ca393055f817 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Wed Jan 13 00:31:57 2010 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Wed Jan 13 01:18:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.116 2010/01/09 16:29:32 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.117 2010/01/13 01:18:51 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.116 2010/01/09 16:29:32 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.117 2010/01/13 01:18:51 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -118,6 +118,13 @@
 int nbpg = 4096;
 #endif
 
+struct loadavg averunnable = {
+       { 0 * FSCALE,
+         1 * FSCALE,
+         11 * FSCALE, },
+       FSCALE,
+};
+
 devclass_t
 device_class(device_t dev)
 {
@@ -219,6 +226,13 @@
 }
 
 void
+pgsignal(struct pgrp *pgrp, int sig, int checktty)
+{
+
+       panic("%s: not implemented", __func__);
+}
+
+void
 kpsignal(struct proc *p, ksiginfo_t *ksi, void *data)
 {
 
@@ -471,3 +485,18 @@
 
        return 0;
 }
+
+void
+calcru(struct proc *p, struct timeval *up, struct timeval *sp,
+       struct timeval *ip, struct timeval *rp)
+{
+
+       panic("%s unimplemented", __func__);
+}
+
+int
+sigismasked(struct lwp *l, int sig)
+{
+
+       return 0;
+}



Home | Main Index | Thread Index | Old Index