Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/pci_passthru.h
- This file was added.
/*- | |||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD | |||||
* | |||||
* Copyright (c) 2020 Beckhoff Automation GmbH & Co. KG | |||||
* Author: Corvin Köhne <c.koehne@beckhoff.com> | |||||
*/ | |||||
#pragma once | |||||
#include <vmmapi.h> | |||||
#include "pci_emul.h" | |||||
uint32_t read_config(const struct pcisel *sel, long reg, int width); | |||||
void write_config(const struct pcisel *sel, long reg, int width, uint32_t data); | |||||
markj: Why does it need to be exported? Should this be rebased on D33769? | |||||
Done Inline ActionsI've cherry picked that part from another patch, which requires it to be exported too. Yes, it should be rebase on D33769. corvink: I've cherry picked that part from another patch, which requires it to be exported too. Yes, it… |
Why does it need to be exported? Should this be rebased on D33769?