[Midnightbsd-cvs] src [9947] trunk/sys/kern/bus_if.m: sync with freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri May 25 16:55:48 EDT 2018


Revision: 9947
          http://svnweb.midnightbsd.org/src/?rev=9947
Author:   laffer1
Date:     2018-05-25 16:55:47 -0400 (Fri, 25 May 2018)
Log Message:
-----------
sync with freebsd

Modified Paths:
--------------
    trunk/sys/kern/bus_if.m

Property Changed:
----------------
    trunk/sys/kern/bus_if.m

Modified: trunk/sys/kern/bus_if.m
===================================================================
--- trunk/sys/kern/bus_if.m	2018-05-25 20:55:11 UTC (rev 9946)
+++ trunk/sys/kern/bus_if.m	2018-05-25 20:55:47 UTC (rev 9947)
@@ -23,6 +23,7 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 #
+# $FreeBSD: stable/10/sys/kern/bus_if.m 302234 2016-06-27 21:50:30Z bdrewery $
 # $MidnightBSD$
 #
 
@@ -121,7 +122,7 @@
  * @param _child	the child device whose instance variable is
  *			being read
  * @param _index	the instance variable to read
- * @param _result	a loction to recieve the instance variable
+ * @param _result	a location to receive the instance variable
  *			value
  * 
  * @retval 0		success
@@ -374,7 +375,7 @@
  *			triggers
  * @param _arg		a value to use as the single argument in calls
  *			to @p _intr
- * @param _cookiep	a pointer to a location to recieve a cookie
+ * @param _cookiep	a pointer to a location to receive a cookie
  *			value that may be used to remove the interrupt
  *			handler
  */
@@ -445,9 +446,9 @@
  * @param _child	the device which owns the resource
  * @param _type		the type of resource
  * @param _rid		the resource identifier
- * @param _start	the address of a location to recieve the start
+ * @param _start	the address of a location to receive the start
  *			index of the resource range
- * @param _count	the address of a location to recieve the size
+ * @param _count	the address of a location to receive the size
  *			of the resource range
  */
 METHOD int get_resource {
@@ -670,3 +671,16 @@
 	device_t	_child;
 	u_int		_irq;
 } DEFAULT null_remap_intr;
+
+/**
+ * @brief Get the VM domain handle for the given bus and child.
+ *
+ * @param _dev		the bus device
+ * @param _child	the child device
+ * @param _domain	a pointer to the bus's domain handle identifier
+ */
+METHOD int get_domain {
+	device_t	_dev;
+	device_t	_child;
+	int		*_domain;
+} DEFAULT bus_generic_get_domain;


Property changes on: trunk/sys/kern/bus_if.m
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list