blob: d123f1ec35925ed82e5ea6cd6f9a58178305e6ba [file] [log] [blame]
// Copyright 2019 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 <unistd.h>
#include <lib/zx/channel.h>
bool CheckBoardName(const zx::channel& sysinfo, const char* name, size_t length);
bool ReadBoardInfo(const zx::channel& sysinfo, void* data, off_t offset, size_t* length);
size_t BoardInfoSize();