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 cpu_getmodel()



details:   https://anonhg.NetBSD.org/src/rev/9159c61e1b66
branches:  trunk
changeset: 340183:9159c61e1b66
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Aug 25 14:47:26 2015 +0000

description:
add cpu_getmodel()

diffstat:

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

diffs (29 lines):

diff -r b0d46ed9e33f -r 9159c61e1b66 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Tue Aug 25 14:32:34 2015 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Tue Aug 25 14:47:26 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.172 2015/07/24 14:11:11 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.173 2015/08/25 14:47:26 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.172 2015/07/24 14:11:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.173 2015/08/25 14:47:26 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -392,3 +392,10 @@
        rump_sysproxy_fini(finiarg);
        rumpuser_exit(ruhow);
 }
+
+const char *
+cpu_getmodel(void)
+{
+
+       return "rumpcore (virtual)";
+}



Home | Main Index | Thread Index | Old Index