X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..7ddcb079202367355dddccdfa4318e57d50318be:/bsd/sys/sys_domain.h diff --git a/bsd/sys/sys_domain.h b/bsd/sys/sys_domain.h index 6b8b01b7f..981d9f107 100644 --- a/bsd/sys/sys_domain.h +++ b/bsd/sys/sys_domain.h @@ -96,8 +96,9 @@ struct ctl_cb { lck_mtx_t *mtx; struct socket *so; /* controlling socket */ struct kctl *kctl; /* back pointer to controller */ - u_int32_t unit; void *userdata; + u_int32_t unit; + u_int32_t usecount; }; @@ -105,8 +106,8 @@ extern struct domain systemdomain; /* built in system domain protocols init function */ __BEGIN_DECLS -int kern_event_init(void); -int kern_control_init(void); +int kern_event_init(void) __attribute__((section("__TEXT, initcode"))); +int kern_control_init(void) __attribute__((section("__TEXT, initcode"))); __END_DECLS #endif /* KERNEL_PRIVATE */