Code

History

Commits on master to src/vm/thread.cpp20
  1. Remove 'using namespace' statements from all but the execution table file.arr committed 9 years ago2519a93
  2. DisVM will now only use 0 initialized memory. - The alloc_memory function will only return 0 initialize memory - calloc_memory was removedarr committed 9 years agob92328e
  3. Add support for traps in VM Add instruction trap to enable single step scenario in debugger Remote get_state() function from threadarr committed 9 years agocb408a1
  4. Update registers struct to include next_pc member. This allows the pc member to always point at the current PC instead of having been incremented to the 'next' PC.arr committed 9 years agoa46f30c
  5. Update UX for some scenarios. - PCs should be prefixed with an '@' - Function symbol printing in debugger - Disassemble command can now specify absolute PC to disassemble - Exception printing - md5sum program - prints new linesarr committed 9 years ago55b7ecc
  6. Merged in cross_plat_build (pull request #7)Aaron R Robinson committed 9 years agoe9e8504
  7. Final build issues from Mac (i.e. XCode)arr committed 9 years ago8d11a42
  8. Enable logging from exec for specific components. Remove trailing newlines from all existing logging calls.arr committed 9 years agodd0789c
  9. Address code analysis violations. Disable all Microsoft language extensions - All header files now end with a single new line character. Split vs_asm header from type signature templates - vs_asm_sigkind.h createdarr committed 9 years ago02a7d6a
  10. Fix some issues when building on macelinor fung committed 9 years ago34cadb2
  11. Change assert to exception if a dis module contains an invalid magic number. Broken threads now terminate the VM using the default scheduler. Tools can not get a callback for broken threads.arr committed 10 years ago096b0c7
  12. Reduce assembly footprint of execute function to allow for specialized tool dispatcher logic Fix locking strategy in scheduler - Release lock prior to notify Change default build optimization to 'for speed' rather than 'full' Add current thread quanta to register and specify size for thread state enum No longer free tool dispatcher after all tools have detachedarr committed 10 years ago8142339
  13. Alter register address decoding using a lookup table instead of single function with multiple switch blocks. Reduced scheduler sleep time during tool dispatch setting.arr committed 10 years ago824a71a
  14. Basic debugger implementation - No way to enable it without altering exec main.cpp.arr committed 10 years agof2c6ef3
  15. Various work for tool support in the VM. Update some type names (i.e. _t) and alter API signatures to be more consistent.arr committed 10 years agoe5d3f86
  16. Name the entry module in the exec program. Re-write stack walking function for debugger. System exceptions now print out call stack.arr committed 10 years ago794ecfc
  17. Handle system exceptions in the scheduler.arr committed 10 years ago4f6417b
  18. Create specific exception when index is out of range. Update thread class to print out exception details. Throw exception when an invalid op-code is detected. Enforce mspawn instruction cannot start from a built-in module.arr committed 10 years ago266fad6
  19. Altered API getting the allocation from a vm_alloc_t. Added preliminary internal file descriptor type. Test groups now print out their name.arr committed 10 years ago5a417ba
  20. Initial public commit for Dis VMarr committed 10 years agof95902e