#include <mach/fairplayd_notification_server.h>

mach/fairplayd_notification_server.h Kernel.framework

includes: Kernel/string.h, Kernel/mach/ndr.h, Kernel/mach/boolean.h, Kernel/mach/kern_return.h, Kernel/mach/notify.h, mach/mach_types.h, mach/message.h, Kernel/mach/mig_errors.h, mach/port.h, Availability.h, Kernel/mach/std_types.h, Kernel/mach/mig.h, Kernel/mach/mig.h, mach/mach_types.h
3 macros · 3 functions · 1 struct · 1 variable

macro_fairplay_server_

#define _fairplay_server_ 

macrofairplay_MSG_COUNT

#define fairplay_MSG_COUNT 1

functionfairplayd_arcade_request

extern MIG_SERVER_ROUTINE kern_return_t fairplayd_arcade_request(
	mach_port_t fairplayd_port,
	mach_port_t arcade_reg_port
)
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/fairplayd_notification.defs, osfmk/kern/arcade.c
Server-interface routine of the fairplay MIG subsystem (subsystem id 41471), implemented by fairplayd. The kernel sends this one-way message to request a fresh Arcade upcall service port; rather than replying with the port, fairplayd registers the new port against the arcade_reg_port kobject it receives here, via arcade_register_new_upcall (see osfmk/kern/arcade.c).

functionfairplay_server

extern boolean_t fairplay_server(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/fairplayd_notification.defs
MIG-generated demultiplexer for the fairplay subsystem (osfmk/mach/fairplayd_notification.defs). If the request message at InHeadP belongs to the subsystem, calls the matching handler (fairplayd_arcade_request), formats the reply message at OutHeadP, and returns TRUE; returns FALSE, with a MIG_BAD_ID error reply, for messages that do not belong to the subsystem.

functionfairplay_server_routine

extern mig_routine_t fairplay_server_routine(mach_msg_header_t *InHeadP)
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/fairplayd_notification.defs
Returns the MIG dispatch function for the fairplay subsystem request whose msgh_id is found in InHeadP, or a null pointer if the message is not a request of the subsystem. Alternative to the combined demultiplexer for servers that look up and invoke the handler themselves.

structfairplay_subsystem

Description of this subsystem, for use in direct RPC
size 72, align 8
mig_server_routine_tserverServer routine
mach_msg_id_tstartMin routine number
mach_msg_id_tendMax routine number + 1
unsigned intmaxsizeMax msg size
vm_address_treservedReserved
struct routine_descriptor[1]routine

variablefairplay_subsystem

extern const struct fairplay_subsystem { mig_server_routine_t server; /* Server routine */ mach_msg_id_t start; /* Min routine number */ mach_msg_id_t end; /* Max routine number + 1 */ unsigned int maxsize; /* Max msg size */ vm_address_t reserved; /* Reserved */ struct routine_descriptor /* Array of routine descriptors */ routine[1]; } fairplay_subsystem

macrosubsystem_to_name_map_fairplay

#define subsystem_to_name_map_fairplay { "fairplayd_arcade_request", 41471 }