diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-09 19:03:27 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-09 19:03:27 (GMT) |
| commit | 369ba2ecedc77649eddc63a011025c02dd85706a (patch) | |
| tree | ce4b5db08f07c26f6fcfb469cf32f7d2f266a024 /src/virtualmachine/VirtualMachine.h | |
| parent | b44ac1bb7dbe59170251dc6d38421c45e00bea9f (diff) | |
| download | powder-369ba2ecedc77649eddc63a011025c02dd85706a.zip powder-369ba2ecedc77649eddc63a011025c02dd85706a.tar.gz | |
More VM syscalls
Diffstat (limited to 'src/virtualmachine/VirtualMachine.h')
| -rw-r--r-- | src/virtualmachine/VirtualMachine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/virtualmachine/VirtualMachine.h b/src/virtualmachine/VirtualMachine.h index 5072504..ab75e96 100644 --- a/src/virtualmachine/VirtualMachine.h +++ b/src/virtualmachine/VirtualMachine.h @@ -2,6 +2,9 @@ #include "Exceptions.h" +class Simulation; +class Renderer; + namespace vm { @@ -62,6 +65,7 @@ namespace vm class VirtualMachine { + bool bigEndian; /* host is big-endian (requires byte-swapping). */ /* Memory spaces. */ @@ -110,6 +114,9 @@ namespace vm int opcodeParameterSize(int opcode); int syscall(int programCounter); public: + Simulation * sim; + Renderer * ren; + #define OPDEF(n) int Op##n(word parameter); #include "Operations.inl" #undef OPDEF |
