TODO(https://fxbug.dev/42108078)
#include <zircon/syscalls.h> zx_status_t zx_debug_send_command(zx_handle_t resource, const char* buffer, size_t buffer_size);
To use the zx_debug_send_command()
function, you must specify kernel.enable-debugging-syscalls=true
on the kernel command line. Otherwise, the function returns ZX_ERR_NOT_SUPPORTED
.
TODO(https://fxbug.dev/42108078)
resource must have resource kind ZX_RSRC_KIND_SYSTEM
with base ZX_RSRC_SYSTEM_DEBUG_BASE
.
TODO(https://fxbug.dev/42108078)
TODO(https://fxbug.dev/42108078)