kernel part of https://www.gitorious.org/softiwarp