blob: 3582a20e01868aae80639f207bf9925c144b8a4a [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.
#ifndef SRC_VIRTUALIZATION_BIN_VMM_PLATFORM_DEVICE_H_
#define SRC_VIRTUALIZATION_BIN_VMM_PLATFORM_DEVICE_H_
#include <zircon/types.h>
#include <cstddef>
#include <fbl/span.h>
class PlatformDevice {
public:
virtual ~PlatformDevice() = default;
virtual zx_status_t ConfigureZbi(fbl::Span<std::byte> zbi) const { return ZX_OK; }
virtual zx_status_t ConfigureDtb(void *dtb) const { return ZX_OK; }
};
#endif // SRC_VIRTUALIZATION_BIN_VMM_PLATFORM_DEVICE_H_