On 10/21/24 9:04 PM, Samuel Thibault wrote:
By implementing the corresponding RPC, whose msgid is given by the IOC_MSGID macro. For instance forRTC_RD_TIME. _IOR('p', 0x09, struct rtc_time) the group is 'p' and the command is 0x9, so the subsystem would be 140000, and the exact RPC would be 140009.
I'm quite confused about the calculation of subsystem. May I have a more detailed process of how 140000 is calculated? Including the names of the files in which macros is used in the calculation. Thank you -- Zhaoming Luo<[email protected]>
