Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Implement dummy process_read_dbre...



details:   https://anonhg.NetBSD.org/src/rev/2ce4c4489a12
branches:  trunk
changeset: 828987:2ce4c4489a12
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Jan 13 15:15:03 2018 +0000

description:
Implement dummy process_read_dbreg() and process_write_dbreg() used in x86

diffstat:

 sys/arch/usermode/usermode/process_machdep.c |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r d6a7500cf32a -r 2ce4c4489a12 sys/arch/usermode/usermode/process_machdep.c
--- a/sys/arch/usermode/usermode/process_machdep.c      Sat Jan 13 14:48:13 2018 +0000
+++ b/sys/arch/usermode/usermode/process_machdep.c      Sat Jan 13 15:15:03 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: process_machdep.c,v 1.3 2014/01/04 00:10:03 dsl Exp $ */
+/* $NetBSD: process_machdep.c,v 1.4 2018/01/13 15:15:03 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.3 2014/01/04 00:10:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.4 2018/01/13 15:15:03 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -68,3 +68,16 @@
 {
        return 0;
 }
+
+int
+process_write_dbregs(struct lwp *l, const struct dbreg *regs, size_t sz)
+{
+       return 0;
+}
+
+int
+process_read_dbregs(struct lwp *l, struct dbreg *regs, size_t *sz)
+{
+       return 0;
+}
+



Home | Main Index | Thread Index | Old Index