[Midnightbsd-cvs] src [10099] trunk/sys/dev: sync

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun May 27 19:38:41 EDT 2018


Revision: 10099
          http://svnweb.midnightbsd.org/src/?rev=10099
Author:   laffer1
Date:     2018-05-27 19:38:40 -0400 (Sun, 27 May 2018)
Log Message:
-----------
sync

Modified Paths:
--------------
    trunk/sys/dev/mc146818/mc146818.c
    trunk/sys/dev/mc146818/mc146818reg.h
    trunk/sys/dev/mc146818/mc146818var.h

Added Paths:
-----------
    trunk/sys/dev/mbox/
    trunk/sys/dev/mbox/mbox_if.m

Added: trunk/sys/dev/mbox/mbox_if.m
===================================================================
--- trunk/sys/dev/mbox/mbox_if.m	                        (rev 0)
+++ trunk/sys/dev/mbox/mbox_if.m	2018-05-27 23:38:40 UTC (rev 10099)
@@ -0,0 +1,47 @@
+/* $MidnightBSD$ */
+#-
+# Copyright (c) 2013 Rui Paulo
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# $FreeBSD: stable/10/sys/dev/mbox/mbox_if.m 252998 2013-07-07 19:47:22Z rpaulo $
+#
+# Mailboxes are used as an IPC mechanism that allows subsystems to 
+# communicate with each other.
+# A system can have multiple mailboxes (e.g. OMAP4) but there's usually a
+# system wide mailbox.
+#
+
+INTERFACE mbox;
+
+METHOD int read {
+	device_t	dev;
+	int		channel;
+	uint32_t	*data;
+};
+
+METHOD int write {
+	device_t	dev;
+	int		channel;
+	uint32_t	data;
+};


Property changes on: trunk/sys/dev/mbox/mbox_if.m
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/sys/dev/mc146818/mc146818.c
===================================================================
--- trunk/sys/dev/mc146818/mc146818.c	2018-05-27 23:37:22 UTC (rev 10098)
+++ trunk/sys/dev/mc146818/mc146818.c	2018-05-27 23:38:40 UTC (rev 10099)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Izumi Tsutsui.  All rights reserved.
  *
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/dev/mc146818/mc146818.c,v 1.5.2.2 2010/01/15 16:29:41 marius Exp $");
+__FBSDID("$FreeBSD: stable/10/sys/dev/mc146818/mc146818.c 201009 2009-12-25 22:58:43Z marius $");
 
 /*
  * mc146818 and compatible time of day chip subroutines

Modified: trunk/sys/dev/mc146818/mc146818reg.h
===================================================================
--- trunk/sys/dev/mc146818/mc146818reg.h	2018-05-27 23:37:22 UTC (rev 10098)
+++ trunk/sys/dev/mc146818/mc146818reg.h	2018-05-27 23:38:40 UTC (rev 10099)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -24,7 +25,7 @@
  *
  *	$NetBSD: mc146818reg.h,v 1.9 2006/03/08 23:46:25 lukem Exp $
  *
- * $FreeBSD: src/sys/dev/mc146818/mc146818reg.h,v 1.7.2.1 2010/01/15 16:28:02 marius Exp $
+ * $FreeBSD: stable/10/sys/dev/mc146818/mc146818reg.h 201008 2009-12-25 22:53:46Z marius $
  */
 
 /*

Modified: trunk/sys/dev/mc146818/mc146818var.h
===================================================================
--- trunk/sys/dev/mc146818/mc146818var.h	2018-05-27 23:37:22 UTC (rev 10098)
+++ trunk/sys/dev/mc146818/mc146818var.h	2018-05-27 23:38:40 UTC (rev 10099)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Izumi Tsutsui.  All rights reserved.
  *
@@ -23,7 +24,7 @@
  *
  *	$NetBSD: mc146818var.h,v 1.7 2008/05/14 13:29:29 tsutsui Exp $
  *
- * $FreeBSD: src/sys/dev/mc146818/mc146818var.h,v 1.4.2.2 2010/01/15 16:29:41 marius Exp $
+ * $FreeBSD: stable/10/sys/dev/mc146818/mc146818var.h 201009 2009-12-25 22:58:43Z marius $
  */
 
 struct mc146818_softc {



More information about the Midnightbsd-cvs mailing list