1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #include <acpica/acpi.h> 8 9 // Look for NHLT blob in the device pointed to by object and publish 10 // it as metadata on the PCI device. 11 // @param dev sys device pointer 12 // @param bbn base bus number of the PCI root the device is on 13 // @param adr ADR value for the device 14 // @param object handle to the device 15 zx_status_t nhlt_publish_metadata(zx_device_t* dev, uint8_t bbn, uint64_t adr, ACPI_HANDLE object); 16