Post

Replies

Boosts

Views

Activity

Driver(dext) interface maximum data size
Hi All, Is there a limit on the data size of input and output in IOConnectCallStructMethod? I am working with CommunicatingBetweenADriverKitExtensionAndAClientApp. It seems there a buffer size limit in OversizedDataStruct in the sample code. typedef struct { uint64_t foo; uint64_t bar; uint64_t largeArray[511]; } OversizedDataStruct; If I tested by changing 511 to 0x1E00000(30MB), I got below error. Thread 1: EXC_BAD_ACCESS (code=2, address=0x16f20fff8) I need to get large image data(over 30 MBytes) from driver(dext) to user client application. How can I transfer more than 30MB of data from driver to App with IOConnectCallStructMethod? Or is there any other way without using IOConnectCallStructMethod? Please help.
2
0
796
May ’23
How to assign dma to pci and get data
Hi, I am working in DriverKit(dext) environment with PCIDriverKit. How to assign dma to pci device? How to know the address to get the data recorded in the memory using dma in the pci device? There are some information related to kext, but, i'm looking for information or sample code for dext. Any little information would be helpful.
0
0
640
May ’23
There is no userclient-access menu item.
If you enter https://developer.apple.com/ and click selected item as follows, account -> identifiers -> Identifiers+ -> App IDs, Continue -> (Select a type for App) Continue. We arrived at the "Certificates, Identifiers & Profiles" screen where you can work on "Register an App ID". We need to enable the Capability for userclient-access, but there is no name for "userclient-access". I guess one of the three menu titles is missing on my screen. There are 3 menu titles displayed on other friend's that screen, like "Capabilities", "App Services", and something like advanced or extended... That friend is on a different team and works with a different Apple ID. We desperately need your valuable help.
1
0
601
Mar ’23