[PATCH] hwpmc(4) syscall arguments fix

Oleksandr Tymoshenko gonzo at bluezbox.com
Sat Oct 30 00:12:09 UTC 2010

     I ran into problems trying to get hwpmc to work on 64-bit MIPS
system with big endian byte order. Turned out hwpmc syscall handler
is byte-order and register_t size agnostic unlike the rest of syscalls.
The best solution I have so far is a copy sys/sysproto.h approach:

Any other ideas how to get it fixed in more clean way?

More information about the freebsd-hackers mailing list