xref: /xnu-10002.1.13/osfmk/mach/memory_error_notification.defs (revision 1031c584a5e37aff177559b9f69dbd3c8c3fd30a)
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;
18
19simpleroutine   memory_error_notification(
20	RequestPort memory_error_port   : mach_port_t;
21	in          physical_address    : uint64_t;
22	in          ecc_flags           : uint32_t;
23	in          ce_count            : uint32_t;
24	ServerAuditToken atoken         : audit_token_t);
25
26simpleroutine   mcc_memory_error_notification(
27	RequestPort memory_error_port   : mach_port_t;
28	in          event               : mcc_ecc_event_t;
29	ServerAuditToken atoken         : audit_token_t);
30
31import <kern/ecc.h>;