PERFORCE change 1200850 for review
John Baldwin
jhb at FreeBSD.org
Fri Sep 26 20:45:18 UTC 2014
http://p4web.freebsd.org/@@1200850?ac=10
Change 1200850 by jhb at jhb_ralph on 2014/09/26 20:44:45
Missed these.
Affected files ...
.. //depot/projects/multipass/sys/dev/iicbus/iic.h#5 integrate
.. //depot/projects/multipass/sys/sparc64/include/sf_buf.h#3 integrate
Differences ...
==== //depot/projects/multipass/sys/dev/iicbus/iic.h#5 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: head/sys/dev/iicbus/iic.h 210998 2010-08-07 08:31:32Z joel $
+ * $FreeBSD: head/sys/dev/iicbus/iic.h 268564 2014-07-12 06:23:42Z rpaulo $
*
*/
#ifndef __IIC_H
==== //depot/projects/multipass/sys/sparc64/include/sf_buf.h#3 (text+ko) ====
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2003 Alan L. Cox <alc at cs.rice.edu>
+ * Copyright (c) 2014 Gleb Smirnoff <glebius at FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,37 +23,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: head/sys/sparc64/include/sf_buf.h 255318 2013-09-06 17:44:13Z glebius $
+ * $FreeBSD: head/sys/sparc64/include/sf_buf.h 269782 2014-08-10 16:59:39Z kib $
*/
#ifndef _MACHINE_SF_BUF_H_
#define _MACHINE_SF_BUF_H_
-#include <sys/queue.h>
-
-struct vm_page;
-
-struct sf_buf {
- SLIST_ENTRY(sf_buf) free_list; /* list of free buffer slots */
- struct vm_page *m; /* currently mapped page */
- vm_offset_t kva; /* va of mapping */
-};
-
-struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags);
-void sf_buf_free(struct sf_buf *sf);
-
-static __inline vm_offset_t
-sf_buf_kva(struct sf_buf *sf)
-{
-
- return (sf->kva);
-}
-
-static __inline struct vm_page *
-sf_buf_page(struct sf_buf *sf)
-{
-
- return (sf->m);
-}
+void sf_buf_map(struct sf_buf *, int);
+int sf_buf_unmap(struct sf_buf *);
#endif /* !_MACHINE_SF_BUF_H_ */
More information about the p4-projects
mailing list