[PATCH] update sf_buf and uio for n64

Andrew Duane aduane at juniper.net
Tue Jan 25 15:25:13 UTC 2011


A minor comment/question, from someone just getting up to speed on the MIPS ports here.

Would it be slightly cleaner to use the sf_buf_page routine in sf_buf_kva, rather than a duplicated cast? It would clarify the use a little. I am assuming the sf_buf_page is an inline routine rather than a #define to match the 32-bit API?

--
Andrew Duane             Juniper Networks
978-589-0551              10 Technology Park Dr
aduane at juniper.net      Westford, MA  01886-3418

________________________________________
From: owner-freebsd-mips at freebsd.org [owner-freebsd-mips at freebsd.org] On Behalf Of Jayachandran C. [c.jayachandran at gmail.com]
Sent: Tuesday, January 25, 2011 8:48 AM
To: freebsd-mips at freebsd.org
Subject: [PATCH] update sf_buf and uio for n64

This is one of the remaining pieces in n64 work from Juli's octeon
branch. The attached patch updates the sf_buf code and uio_machdep.c
in n64 compilation to use direct mapping.

Planning to check this in later this week, if there are no objections.

JC.


More information about the freebsd-mips mailing list