struct MSG [src]
Fields
_0: u10 = 0
VM_KERNEL: bool = falseKernel resource shortage handling an IPC capability.
IPC_KERNEL: bool = falseKernel resource shortage handling out-of-line memory.
VM_SPACE: bool = falseNo room in VM address space for out-of-line memory.
IPC_SPACE: bool = falseNo room in IPC name space for another capability name.
_14: u18 = 0
Members
- MASK (Constant)
- OPTION_NONE (Constant)
- STRICT_REPLY (Constant)
- TIMEOUT_NONE (Constant)
- TYPE (enum)
Source
pub const MSG = packed struct(kern_return_t) {
_0: u10 = 0,
/// Kernel resource shortage handling an IPC capability.
VM_KERNEL: bool = false,
/// Kernel resource shortage handling out-of-line memory.
IPC_KERNEL: bool = false,
/// No room in VM address space for out-of-line memory.
VM_SPACE: bool = false,
/// No room in IPC name space for another capability name.
IPC_SPACE: bool = false,
_14: u18 = 0,
pub const MASK: kern_return_t = @bitCast(MACH.MSG{
.VM_KERNEL = true,
.IPC_KERNEL = true,
.VM_SPACE = true,
.IPC_SPACE = true,
});
pub const TIMEOUT_NONE: mach_msg_timeout_t = .NONE;
pub const OPTION_NONE: mach_msg_option_t = .NONE;
pub const STRICT_REPLY = @compileError("use MACH.RCV.STRICT_REPLY and/or MACH.SEND.STRICT_REPLY");
pub const TYPE = mach_msg_type_name_t;
}