On 10/21/24 7:37 PM, Samuel Thibault wrote:
Zhaoming Luo, le lun. 21 oct. 2024 19:31:19 +0800, a ecrit:
Adding /dev/rtc device in the Hurd as described on [1]contributing website.
/dev/rtc is useless until rtc and the functions for accessing it are added in
dev_name_list in GNU mach.
So there is no real reason to commit this for now, we have to wait for
the mach device to exist.
Also, perhaps it doesn't need to reside in mach and be a userland
translator, in which case it won't be devnode which will be needed here.
Then perhaps 'adding /dev/rtc device' should be removed from 'small hack
entries', or this entry includes implementing a rtc mach device? 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? But I
think we can only access underlying device through mach device
interface, device_open() for example, and a rtc mach device is required.
--
Zhaoming Luo<zhaoming1...@qq.com>