Date: Fri, 29 Oct 2010 17:12:06 -0700 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: hackers@freebsd.org Subject: [PATCH] hwpmc(4) syscall arguments fix Message-ID: <4CCB62D6.1050808@bluezbox.com>
next in thread | raw e-mail | index | archive | help
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: http://people.freebsd.org/~gonzo/patches/hwpmc-syscall.diff Any other ideas how to get it fixed in more clean way?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CCB62D6.1050808>