[Week 2] Import the Xen grant-table bus_dma(9) handlers from OpenBSD
pratyush at freebsd.org
Mon May 28 05:53:52 UTC 2018
I spent this week on writing rough initial implementations of the
Xen-specific grant table handlers imported from OpenBSD. I spent a lot
of time understanding the differences in OpenBSD and FreeBSD's
grant-table interface. They turn out to be more different than I
After that we encountered some design decisions. Since the bus_dma(9)
interface in FreeBSD is quite different from the OpenBSD counterpart,
some design choices had to be made. I am still in talks with my
mentors about it.
I also produced rough implementations of the grant table handlers.
These are not yet complete. There are a lot of rough edges to polish.
Check out the implementations in my GitHub fork .
Unrelated to the project, I submitted a diff to remove some leftover
function prototypes from the grant table header file gnttab.h .
I maintain a blog on Blogger where I publish my progress every few
days. Check it out if you want more details on what I'm doing .
More information about the soc-status