⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcidevice.hh

📁 一个mips虚拟机非常好代码,使用C++来编写的,希望大家多学学,
💻 HH
字号:
#ifndef pcidevice_hh_included#define pcidevice_hh_included#include <device.hh>class PCIDevice    : public Device{public:    const UInt16 vendor_id, device_id, class_id;    UInt32 bar[6];    UInt8 irq;    explicit PCIDevice(int w, UInt16 vendor, UInt16 device, UInt16 pciclass)	: Device(w), vendor_id(vendor), device_id(device), class_id(pciclass) { }    virtual void init(Bus *bus, InterruptSink *intctrl, UInt64 base_address, UInt64 size, int base_irq) = 0;};#endif // pcidevice_hh_included

⌨️ 快捷键说明

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