blob: 83b4f6f24c847d07706fa947738c7c13e6ea355e [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.
#pragma once
#include <acpica/acpi.h>
// Look for NHLT blob in the device pointed to by object and publish
// it as metadata on the PCI device.
// @param dev sys device pointer
// @param bbn base bus number of the PCI root the device is on
// @param adr ADR value for the device
// @param object handle to the device
zx_status_t nhlt_publish_metadata(zx_device_t* dev, int bbn, uint64_t adr, ACPI_HANDLE object);