pci_io.h

来自「思科路由器仿真器,用来仿7200系列得,可以在电脑上模拟路由器-Cisco ro」· C头文件 代码 · 共 32 行

H
32
字号
/* * Cisco 7200 (Predator) simulation platform. * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) */#ifndef __PCI_IO_H__#define __PCI_IO_H__#include "pci_dev.h"/* PCI I/O data */struct pci_io_data {   struct vdevice dev;   struct pci_io_device *dev_list;};/* Add a new PCI I/O device */struct pci_io_device *pci_io_add(struct pci_io_data *d,                                 m_uint32_t start,m_uint32_t end,                                 struct vdevice *dev,dev_handler_t handler);/* Remove a PCI I/O device */void pci_io_remove(struct pci_io_device *dev);/* Remove PCI I/O space */void pci_io_data_remove(vm_instance_t *vm,struct pci_io_data *d);/* Initialize PCI I/O space */struct pci_io_data *pci_io_data_init(vm_instance_t *vm,m_uint64_t paddr);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?