Zhaoming Luo, le lun. 21 oct. 2024 20:04:23 +0800, a ecrit: > Then perhaps 'adding /dev/rtc device' should be removed from 'small hack > entries', or this entry includes implementing a rtc mach device?
For me implementing the device driver was implied :) > In addition to that, I'm quite confused about 'it doesn't need to > reside in mach'. Do you mean it is not necessary to add a rtc mach > device? I mean that it probably doesn't have to be in kernelland, and rather be a userland translator. > But I think we can only access underlying device through mach device > interface, device_open() for example, and a rtc mach device is > required. Userland can implement device_open etc. Actually we would rather make /dev/rtc expose the usual ioctls that applications expect to be able to use, we don't necessarily want to implement the device_* interface. Samuel