| // Copyright 2022 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. | |
| using fuchsia.acpi; | |
| // Bind to an unused ACPI node in Qemu or Atlas. | |
| // TODO(fxb/100716): Bind to a test node once it's available. | |
| if fuchsia.acpi.hid == "QEMU0002" { | |
| true; | |
| } else { | |
| fuchsia.acpi.hid == "PNP0C02"; | |
| } | |