blob: 4f3fb494cff831c7d64917ab73ed8bbc34abf027 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_LIB_USERABI_USERBOOT_DECOMPRESSOR_H_
#define ZIRCON_KERNEL_LIB_USERABI_USERBOOT_DECOMPRESSOR_H_
#include <lib/zx/debuglog.h>
#include <lib/zx/vmo.h>
#include <stdint.h>
#include <zircon/types.h>
zx_status_t zbi_decompress(const zx::debuglog& log, const zx::vmar& vmar, const zx::vmo& vmo,
uint64_t vmo_offset, size_t size, const zx::vmo& output,
uint64_t output_offset, size_t output_size);
#endif // ZIRCON_KERNEL_LIB_USERABI_USERBOOT_DECOMPRESSOR_H_