Search
lxdream.org :: lxdream/src/drivers/osx_iokit.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/osx_iokit.c
changeset 799:8aeb9906d7b9
prev759:f16975739abc
author nkeynes
date Wed Oct 29 23:51:58 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Use regparam calling conventions for all functions called from translated code,
along with a few other high-use functions. Can probably extend this to all functions,
but as it is this is a nice performance boost
file annotate diff log raw
1.1 --- a/src/drivers/osx_iokit.c Mon Jul 21 01:01:39 2008 +0000
1.2 +++ b/src/drivers/osx_iokit.c Wed Oct 29 23:51:58 2008 +0000
1.3 @@ -340,7 +340,7 @@
1.4
1.5 if( IOServiceAddMatchingNotification( notify_port, kIOFirstPublishNotification,
1.6 IOServiceMatching(kIOHIDDeviceKey),
1.7 - osx_hid_inserted, NULL, &iokit_iterators[4] ) != kIOReturnSuccess ) {
1.8 + osx_hid_inserted, NULL, &iokit_iterators[2] ) != kIOReturnSuccess ) {
1.9 ERROR( "IOServiceAddMatchingNotification failed" );
1.10 }
1.11 osx_hid_inserted(NULL, iokit_iterators[2]);
.