On Friday, October 29, 2010 8:12:06 pm Oleksandr Tymoshenko wrote:
>      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?

Yes, a better way would be to add pmc_syscall() to sys/kern/syscalls.master as 
a NOSTD system call.  Then it's arguments would be included in sysproto.h 
directly.

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to