blob: 51a86e1a8893204cda777f82c9ab1d5e97ae60c2 [file] [log] [blame]
// Copyright 2021 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.
#include <lib/ddk/binding_priv.h>
#if !defined(countof) && defined(__cplusplus)
#include <iterator>
#define countof(x) std::size(x)
#endif
// Generated bytecode.
constexpr zx_bind_inst_t grey_lourie_go_away_bird_insts[] = {
{0x20000001,0x1,0x3010000},{0x1000000,0x0,0x0},
};
constexpr device_fragment_part_t grey_lourie_go_away_bird_fragment_part[] = {
{
.instruction_count = countof(grey_lourie_go_away_bird_insts),
.match_program = grey_lourie_go_away_bird_insts,
}
};
constexpr device_fragment_t grey_lourie_go_away_bird_fragment = {
.name = "go-away-bird",
.parts_count = countof(grey_lourie_go_away_bird_fragment_part),
.parts = grey_lourie_go_away_bird_fragment_part,
};
constexpr device_fragment_t grey_lourie_fragments[] {
grey_lourie_go_away_bird_fragment
};
// clang-format off
#define ZIRCON_DRIVER(Driver, Ops, VendorName, Version) \
ZIRCON_DRIVER_BEGIN_PRIV_V2(Driver, Ops, VendorName, Version, 1) 0x0 \
ZIRCON_DRIVER_END_PRIV_V2(Driver)