X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/7e41aa883dd258f888d0470250eead40a53ef1f5..3903760236c30e3b5ace7a4eefac3a269d68957c:/osfmk/kern/host_notify.c diff --git a/osfmk/kern/host_notify.c b/osfmk/kern/host_notify.c index 83826c191..a69f109b4 100644 --- a/osfmk/kern/host_notify.c +++ b/osfmk/kern/host_notify.c @@ -48,7 +48,8 @@ static zone_t host_notify_zone; static queue_head_t host_notify_queue[HOST_NOTIFY_TYPE_MAX+1]; static mach_msg_id_t host_notify_replyid[HOST_NOTIFY_TYPE_MAX+1] = - { HOST_CALENDAR_CHANGED_REPLYID }; + { HOST_CALENDAR_CHANGED_REPLYID, + HOST_CALENDAR_SET_REPLYID }; struct host_notify_entry { queue_chain_t entries; @@ -206,3 +207,11 @@ host_notify_calendar_change(void) host_notify_all(HOST_NOTIFY_CALENDAR_CHANGE, &msg.Head, sizeof (msg)); } + +void +host_notify_calendar_set(void) +{ + __Request__host_calendar_set_t msg; + + host_notify_all(HOST_NOTIFY_CALENDAR_SET, &msg.Head, sizeof (msg)); +}