#define WORK_INTERVAL_TYPE_CA_RENDER_SERVER (0x2 << 28)
#define WORK_INTERVAL_TYPE_CA_CLIENT (0x3 << 28)
#define WORK_INTERVAL_TYPE_HID_DELIVERY (0x4 << 28)
+#define WORK_INTERVAL_TYPE_COREMEDIA (0x5 << 28)
#define WORK_INTERVAL_TYPE_LAST (0xF << 28)
#ifndef KERNEL
* Only the process which created the work interval may notify
*/
int work_interval_notify(work_interval_t interval_handle,
- uint64_t start, uint64_t finish,
- uint64_t deadline, uint64_t next_start,
- uint32_t flags);
+ uint64_t start, uint64_t finish,
+ uint64_t deadline, uint64_t next_start,
+ uint32_t flags);
/*
* Notify, with "finish" implicitly set to the current time
* Only the process which created the work interval may notify
*/
int work_interval_notify_simple(work_interval_t interval_handle,
- uint64_t start, uint64_t deadline,
- uint64_t next_start);
+ uint64_t start, uint64_t deadline,
+ uint64_t next_start);
/*
* Deallocate work interval handle
#define WORK_INTERVAL_OPERATION_JOIN 0x00000005 /* arg is a port_name */
struct work_interval_notification {
- uint64_t start;
- uint64_t finish;
- uint64_t deadline;
- uint64_t next_start;
- uint32_t notify_flags;
- uint32_t create_flags;
+ uint64_t start;
+ uint64_t finish;
+ uint64_t deadline;
+ uint64_t next_start;
+ uint32_t notify_flags;
+ uint32_t create_flags;
};
typedef struct work_interval_notification *work_interval_notification_t;
__END_DECLS
#endif /* _SYS_WORK_INTERVAL_H */
-