ready for addrm & instr
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <spider/runtime/cpu/CPU.hpp>
|
||||
|
||||
#include <spider/runtime/memory/RAM.hpp>
|
||||
|
||||
#include <spider/runtime/reel/InstrReel.hpp>
|
||||
|
||||
namespace spider {
|
||||
|
||||
/**
|
||||
@@ -14,6 +17,7 @@ namespace spider {
|
||||
|
||||
CPU cpu;
|
||||
RAM ram;
|
||||
InstrReel* reel;
|
||||
|
||||
public:
|
||||
|
||||
@@ -68,6 +72,11 @@ namespace spider {
|
||||
*/
|
||||
void resizeRAM(u64 length);
|
||||
|
||||
/**
|
||||
* Non-owning reel setup.
|
||||
*/
|
||||
void hookReel(InstrReel* reel, bool own = false);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user