. changed some CMOS ioctl codes to have correct sizes (struct tm instead of u32_t), a disk ioctl code from W to RW, and memory ioctl codes from R to W, needed for proper matching of grant in FS
15 lines
321 B
C
Executable file
15 lines
321 B
C
Executable file
/* sys/ioc_cmos.h - CMOS ioctl() command codes.
|
|
*/
|
|
|
|
#ifndef _S_I_CMOS_H
|
|
#define _S_I_CMOS_H
|
|
|
|
#include <minix/ioctl.h>
|
|
|
|
#define CIOCGETTIME _IOR('c', 1, struct tm)
|
|
#define CIOCGETTIMEY2K _IOR('c', 2, struct tm)
|
|
#define CIOCSETTIME _IOW('c', 3, u32_t)
|
|
#define CIOCSETTIMEY2K _IOW('c', 4, u32_t)
|
|
|
|
#endif /* _S_I_CMOS_H */
|
|
|