ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> 64bit Applenforceata?, Trying to recompile it for SL
alex
post Sep 19 2009, 05:26 PM
Post #1
Firstly, I'm new here so goodmoring to everybody biggrin.gif Secondly, I'm not a developer and actually I don't know anything about programming, but I wanna understand. I'm trying to recompile Applenforceata.kext (anv source here ) with 10.6 sdk and 64bit support. However as expected I get so errors:


CODE
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:177:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:178:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:179:0 'IOATAIOReg32' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:485:0 'IOATAIOReg16' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:486:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:487:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:488:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:489:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:490:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:491:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:492:0 'IOATAIOReg8' has not been declared
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:493:0 'IOATAIOReg8' has not been declared


Category: Error: Other

/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1066:0 Cast from 'void*' to 'unsigned int' loses precision
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1253:0 Cast from 'UInt8*' to 'UInt32' loses precision
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1271:0 Cast from 'UInt8*' to 'UInt32' loses precision
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:337:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::_bmCommandReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:338:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::_bmStatusReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:339:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::_bmPRDAddresReg', which is of non-class type 'volatile long unsigned int'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:344:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfDataReg', which is of non-class type 'volatile short unsigned int'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:345:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfFeatureReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:346:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfSCountReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:347:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfSectorNReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:348:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfCylLoReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:349:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfCylHiReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:350:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfSDHReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:351:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfStatusCmdReg', which is of non-class type 'volatile unsigned char'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:352:0 Request for member 'release' in '*((AppleNForceATA*)this)->AppleNForceATA::<anonymous>.IOPCIATA::<anonymous>.IOATAController::_tfAltSDevCReg', which is of non-class type 'volatile unsigned char'


Category: Warning: '*' is deprecated (declared at *)

/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1339:0 'IOMallocContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:116)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1342:0 'IOMallocContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:116)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1377:0 'IOFreeContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:124)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1377:0 'IOFreeContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:124)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1339:0 'IOMallocContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:116)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1342:0 'IOMallocContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:116)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1377:0 'IOFreeContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:124)
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1377:0 'IOFreeContiguous' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:124)


Category: Warning: format '*' expects type '*', but argument * has type '*'

/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:138:0 Format '%ld' expects type 'long int', but argument 3 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:287:0 Format '%ld' expects type 'long int', but argument 6 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:425:0 Format '%ld' expects type 'long int', but argument 5 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:432:0 Format '%08lx' expects type 'long unsigned int', but argument 4 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:696:0 Format '%ld' expects type 'long int', but argument 6 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:743:0 Format '%ld' expects type 'long int', but argument 6 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1177:0 Format '%ld' expects type 'long int', but argument 4 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%lx' expects type 'long unsigned int', but argument 3 has type 'IOReturn'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%qx' expects type 'long long unsigned int', but argument 5 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%qx' expects type 'long long unsigned int', but argument 6 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1263:0 Format '%ld' expects type 'long int', but argument 3 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1324:0 Format '%lx' expects type 'long unsigned int', but argument 3 has type 'IOByteCount'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1459:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1460:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1461:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1462:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1463:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1464:0 Format '%ld' expects type 'long int', but argument 2 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%lx' expects type 'long unsigned int', but argument 3 has type 'IOReturn'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%d' expects type 'int', but argument 4 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%qx' expects type 'long long unsigned int', but argument 5 has type 'UInt32'
/Users/Alessandro/Downloads/AppleNForceATA/AppleNForceATA.cpp:1245:0 Format '%qx' expects type 'long long unsigned int', but argument 6 has type 'UInt32'



Most of the errors seems to be related to IOATAReg, so I thoght it had been substituted with another api (as slashack pointed out to me), but i looked intoappleintelpiixpata and ioatafamily sl source and it seems to be still there, but I'm a noob so I can't really say anything. I looked into xcode help and googled a lot, but i didn't found anything probably because i don't know exacly what to search. I appreciate any help links or whatever biggrin.gif
iMac3,1: Striker II Extreme (790i) -Intel QX9650 - EVGA 9800GX2 - 4GB OCZ ReaperX DDR3  10.6.1 Vanilla Kernel - FakeSMC.kext - OpenHaltRestart.kext - PlatformUUID.kext - AppleNForceATA.kext (-x32) - LegacyAppleLPC.kext - LegacyAD1988B.kext - LegacyACPI_SMC_PlatformPlugin.kext - LegacyJMB36xSATA.kext - com.apple.boot.plist with GFX EFI strings - DSDT.aml with OHCI/EHCI HPET HDEF fixes. Sleep and vanilla throttling don't work.
mark
post Sep 20 2009, 08:26 AM
Post #2
probe Attached File  AppleNForceATA.kext.zip ( 59.85K ) Number of downloads: 69
retired
alex
post Sep 20 2009, 12:48 PM
Post #3
Doesn't work, not even in 32bit (while the original does). I see a big difference in size between yours one and the original, what did you edit? Anyway, thanks for trying smile.gif

Edit: tried both E/E and S/L/E, nothing changes.

This post has been edited by alex: Sep 20 2009, 12:51 PM
iMac3,1: Striker II Extreme (790i) -Intel QX9650 - EVGA 9800GX2 - 4GB OCZ ReaperX DDR3  10.6.1 Vanilla Kernel - FakeSMC.kext - OpenHaltRestart.kext - PlatformUUID.kext - AppleNForceATA.kext (-x32) - LegacyAppleLPC.kext - LegacyAD1988B.kext - LegacyACPI_SMC_PlatformPlugin.kext - LegacyJMB36xSATA.kext - com.apple.boot.plist with GFX EFI strings - DSDT.aml with OHCI/EHCI HPET HDEF fixes. Sleep and vanilla throttling don't work.
focher
post Oct 19 2009, 11:22 AM
Post #4
I've tried a couple of alleged 64 bit versions of the AppleNForceSATA.kext, none of which actually work. Still looking...
slashack
post Nov 14 2009, 06:22 AM
Post #5
What about this?

I don't have such hardware to test it, tell me.
Attached File  AppleNForceATA.kext.zip ( 60.01K ) Number of downloads: 158

Zythyr
post Jul 6 2010, 01:53 AM
Post #6
Just wondering is there a Snow Leopard version of AppleNForceATA.kext which support MCP67 chipset with device ids 0x055010de and 0x056010de?

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: