blob: e60a39c4efe782e7b8cd89cd35ca95fc20e4d625 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <stdint.h>
#include <zircon/compiler.h>
#include <zircon/device/dmctl.h>
#include <zircon/types.h>
__BEGIN_CDECLS
zx_status_t netboot_prepare_zbi(zx_handle_t nbkernel_vmo,
zx_handle_t nbbootdata_vmo,
const uint8_t* cmdline, uint32_t cmdline_size,
dmctl_mexec_args_t* args);
__END_CDECLS