#include <mach/memory_error_notification_server.h>
mach/memory_error_notification_server.h
macro_memory_error_notification_server_
#define _memory_error_notification_server_
macromemory_error_notification_MSG_COUNT
#define memory_error_notification_MSG_COUNT 3
functionmemory_error_notification
extern MIG_SERVER_ROUTINE kern_return_t memory_error_notification( mach_port_t memory_error_port, ecc_event_t event, audit_token_t atoken /* serveraudittoken */ )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/memory_error_notification.defs, osfmk/kern/ecc_logging.c
Server-interface routine of the memory_error_notification MIG subsystem (subsystem id 5900), implemented by a user-space memory-error daemon. The kernel's ECC logging facility (osfmk/kern/ecc_logging.c) sends this one-way message on the registered memory-error port when an ECC memory error event (ecc_event_t) is recorded; atoken carries the sender's audit token.
functionmcc_memory_error_notification
extern MIG_SERVER_ROUTINE kern_return_t mcc_memory_error_notification( mach_port_t memory_error_port, mcc_ecc_event_t event, audit_token_t atoken /* serveraudittoken */ )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/memory_error_notification.defs, osfmk/kern/ecc_logging.c
Server-interface routine of the memory_error_notification MIG subsystem, implemented by a user-space memory-error daemon. Like memory_error_notification, but delivers an MCC ECC error event (mcc_ecc_event_t), queued and sent by the kernel's MCC memory-error event queue in osfmk/kern/ecc_logging.c; atoken carries the sender's audit token.
functionllc_memory_error_notification
extern MIG_SERVER_ROUTINE kern_return_t llc_memory_error_notification( mach_port_t memory_error_port, llc_event_t event, audit_token_t atoken /* serveraudittoken */ )
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/memory_error_notification.defs
Server-interface routine of the memory_error_notification MIG subsystem, implemented by a user-space memory-error daemon. Analogous to memory_error_notification and mcc_memory_error_notification, delivering an LLC memory error event (llc_event_t) on the registered memory-error port; atoken carries the sender's audit token. Not present in the available xnu source.
functionmemory_error_notification_server
extern boolean_t memory_error_notification_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/memory_error_notification.defs
MIG-generated demultiplexer for the memory_error_notification subsystem (osfmk/mach/memory_error_notification.defs). If the request message at InHeadP belongs to the subsystem, calls the matching handler (memory_error_notification, mcc_memory_error_notification, llc_memory_error_notification), 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.
functionmemory_error_notification_server_routine
extern mig_routine_t memory_error_notification_server_routine(mach_msg_header_t *InHeadP)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/memory_error_notification.defs
Returns the MIG dispatch function for the memory_error_notification 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.
structmemory_error_notification_subsystem
Description of this subsystem, for use in direct RPC
| 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[3] | routine |
variablememory_error_notification_subsystem
extern const struct memory_error_notification_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[3]; } memory_error_notification_subsystemmacrosubsystem_to_name_map_memory_error_notification
#define subsystem_to_name_map_memory_error_notification { "memory_error_notification", 5900 },
{ "mcc_memory_error_notification", 5901 },
{ "llc_memory_error_notification", 5902 }