bus.hh
来自「一个mips虚拟机非常好代码,使用C++来编写的,希望大家多学学,」· HH 代码 · 共 18 行
HH
18 行
#ifndef bus_hh_included#define bus_hh_included#include <cpu.hh>class Bus{public: CPU *clock; // Memory and device access. Both functions return the latency of the // complete operation. virtual ClockValue read(UInt64 pa, UInt64*, int) = 0; virtual ClockValue write(UInt64 pa, const UInt64*, int) = 0;};#endif // bus_hh_included
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?