Line 47:
Line 47:
== Detailed Description ==
== Detailed Description ==
−
/dev/net/kd/time is used to get and set utc and rtc offsets. this is used by things like nwc24's scheduler and the module handles reading and editing of /shared2/nwc24/misc.bin
+
/dev/net/kd/time is used to get and set utc and rtc offsets. this is used by things like nwc24's scheduler and the module handles reading and editing of /shared2/wc24/misc.bin
=== KD_GetUTCTime ===
=== KD_GetUTCTime ===
Line 81:
Line 81:
struct inbuffer { u32 rtc_value, u32 other_value };
struct inbuffer { u32 rtc_value, u32 other_value };
other_value is checked for the lowest bit to be either 0 or 1 which sets a word in memory
other_value is checked for the lowest bit to be either 0 or 1 which sets a word in memory
−
this function messes with the /shared2/nwc24/misc.bin file and by reading and writing utc data to/from it
+
this function messes with the /shared2/wc24/misc.bin file and by reading and writing utc data to/from it
it also sets utc when it needs to be synchronized due to offset
it also sets utc when it needs to be synchronized due to offset
outbuffer->retval will always hold 0 if the IOS_Ioctl doesn't return -4
outbuffer->retval will always hold 0 if the IOS_Ioctl doesn't return -4