1/* 2 * Copyright (c) 2021, Apple Inc. All rights reserved. 3 * 4 * MIG server interface for memory error reporting. 5 */ 6 7 8subsystem 9#if KERNEL_USER 10 KernelUser 11#endif /* KERNEL_USER */ 12 memory_error_notification 5900; 13 14#include <mach/std_types.defs> 15#include <mach/mach_types.defs> 16 17type mcc_ecc_event_t = struct[10] of uint32_t; 18type ecc_event_t = struct[10] of uint32_t; 19 20simpleroutine memory_error_notification( 21 RequestPort memory_error_port : mach_port_t; 22 in event : ecc_event_t; 23 ServerAuditToken atoken : audit_token_t); 24 25simpleroutine mcc_memory_error_notification( 26 RequestPort memory_error_port : mach_port_t; 27 in event : mcc_ecc_event_t; 28 ServerAuditToken atoken : audit_token_t); 29 30import <kern/ecc.h>;