struct UserCopyCaptureFaultsResult
Defined at line 47 of file ../../zircon/kernel/include/arch/user_copy.h
A small helper struct used for the return type of the various
*_capture_faults forms of the copy_(to|from)_user routines.
A user copy which captures faults has three different possible results.
1) The operation succeeds. The status is OK.
2) The operation attempts to copy, but page faults in the process. The
status is != ZX_OK, and the fault_info optional has a valid value which
contains the virtual address describing the location of the fault and some
flags which describe the nature of the fault.
3) The operation fails without ever trying. The status is != ZX_OK, but
fault_info has no valid value. There was no fault taken, so there is no
fault to handle.
Public Members
zx_status_t status
optional fault_info
Public Methods
void UserCopyCaptureFaultsResult (zx_status_t status)
Defined at line 54 of file ../../zircon/kernel/include/arch/user_copy.h
void UserCopyCaptureFaultsResult (zx_status_t status, FaultInfo fault_info)
Defined at line 55 of file ../../zircon/kernel/include/arch/user_copy.h