Dirty page table. Not yet used.

This commit is contained in:
Ben Vanik
2014-06-02 07:49:45 -07:00
parent ddbebcda6c
commit beb5ee40ee
9 changed files with 56 additions and 3 deletions

View File

@@ -118,6 +118,7 @@ int IVMFunction::CallImpl(ThreadState* thread_state, uint64_t return_address) {
ics.locals = local_stack;
ics.context = (uint8_t*)thread_state->raw_context();
ics.membase = memory->membase();
ics.page_table = ics.membase + memory->page_table();
ics.did_carry = 0;
ics.did_saturate = 0;
ics.thread_state = thread_state;