mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-30 19:05:33 +00:00
Modified the copyright year range in code, and corrected "int32_tel" into "Intel" in two "hypervisor/include/debug/profiling.h" and "hypervisor/include/debug/profiling_internal.h". Tracked-On: #7559 Signed-off-by: Ziheng Li <ziheng.li@intel.com>
21 lines
448 B
C
21 lines
448 B
C
/*
|
|
* Copyright (C) 2021-2022 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef __PCI_UTIL_H
|
|
#define __PCI_UTIL_H
|
|
|
|
#include <stdbool.h>
|
|
#include "pciaccess.h"
|
|
|
|
int pci_find_cap(struct pci_device *pdev, const int cap_id);
|
|
int pci_find_ext_cap(struct pci_device *pdev, int cap_id);
|
|
int pci_get_pcie_type(struct pci_device *dev);
|
|
bool is_root_port(struct pci_device *pdev);
|
|
bool is_mfdev(struct pci_device *pdev);
|
|
|
|
#endif
|