My user space driver need to call a function:
clock_get_calendar_microtime(¤tTime_sec,¤tTime_usec);
I hope Xcode DriverKit library can include "kern/clock.h"
Post
Replies
Boosts
Views
Activity
I am working on
SCSIControllerDriverKit
UserSpaceDriver-UserCreateTargetForID.ips.txt
I
UserSpaceDriver-UserCreateTargetForID.rtf.txt
OUserSCSIParallelInterfaceController
My dext had follow this site description:
https://developer.apple.com/documentation/scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/3567474-usercreatetargetforid
But when the program calls:
UserCreateTargetForID(scsi_target,targetOSDictionary)
got panic.
I am woriking on
SCSIControllerDriverKit
IOUserSCSIParallelInterfaceController
When I hot-plug my PCIe SCSI controller, the controller works normally, but when I hot remove the PCIe SCSI controller, the driverkit crashes.
Thread 3 Crashed:: Dispatch queue: MyUserSpaceDriver-Default
UserSpaceDriver-PCIe-hotremove.rtf.txt
UserSpaceDriver-PCIe-hotremove.ips.txt
I am working on
SCSIControllerDriverKit
IOUserSCSIParallelInterfaceController
When the MacOS system restarts or shuts down,
Why DriverKit SetPowerState is not called?
But when the MacOS system sleeps and wakes up, SetPowerState is called.
kern_return_t IMPL (MyUserSpaceDriver, SetPowerState)
{
.......
}