1. 25 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-25 Benoît Perrot <benoit@lrde.epita.fr> · 4fbb0766
      Benoit Perrot authored
      	Reduce includes' dependencies.
      	
      	* src/vm/cpu.hh, src/vm/cpu.cc
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc
      	* src/parse/asm-parse.yy.gen.py, src/parse/asm-scan.ll.gen.py,
      	* src/inst/register.hh,
      	* src/inst/op_exp.hh,
      	* src/inst/label_exp.hh,
      	* src/inst/exp.hh,
      	* src/inst/section.hh, src/inst/data_section.hh,
      	* src/inst/program.hh
      	* src/inst/nodes.gen.py
      	* src/inst/inst.hh
      	* src/inst/label.hh:
      	Remove unused includes, forward-declare classes.
      
      4fbb0766
  2. 24 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-24 Benoît Perrot <benoit@lrde.epita.fr> · 902282e4
      Benoit Perrot authored
      	Introduce system libraries.
      
      	* src/vm/cpu.hh, src/vm/cpu.cc:
      	Export mmu and cp0. Move syscalls' implementation to...
      	* src/vm/system_library.hh, src/vm/system_library.cc,
      	* src/vm/spim_system_library.hh, src/vm/spim_system_library.hxx,
      	* src/vm/spim_system_library.cc:
      	These new files.
      	* src/vm/cp0.hh: Export fatal_exception flag.
      	* src/vm/Makefile.am: Update accordingly.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
      	Propagate system library to cpu.
      	* src/vm-tasks.cc: 
      	Give a default system library to virtual machine.
      
      902282e4
  3. 01 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-01 Benoît Perrot <benoit@lrde.epita.fr> · 082b5c71
      Benoit Perrot authored
      	Simplify unique_string construction.
      
      	* src/misc/unique_string.hh, src/misc/unique_string.cc (create):
      	Remove. Move its implementation to unique_string's constructor,
      	hence make unique_string aggregate a pointer-to-string instead of a
      	reference.
      	* src/misc/test-unique_string.cc, src/vm/virtual_machine.cc, 
      	* src/shell/shell.cc, src/parse/asm-parse.yy.gen.py,
      	* src/parse/asm-scan.ll.gen.py, src/inst/label_exp.hh,
      	* src/inst/section.hh, src/inst/label.hh:
      	Adjust.
      
      082b5c71
  4. 27 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 24ea94c9
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Make LabelExp independent from Label.
      
      	* src/inst/exp.hh, src/inst/exp.cc:
      	Make LabelExp aggregate a unique_string instead of a Label.
      	* dev/parse-asm-scan-gen.py: Return a unique_string when 
      	scanning an identifier (instead	of a Label).
      	* dev/parse-asm-parse-gen.py: Update accordingly.
      	* src/inst/section.hh (has_label, get_offset): Wait for a
      	unique_string (instead of a Label).
      	* dev/inst-builder-gen.py, dev/inst-solver-gen.py,
      	* src/vm/virtual_machine.cc, src/shell/shell.cc:
      	Update accordingly.
      
      24ea94c9
  5. 24 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 4de60919
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Hide the text section loaded in virtual machine's memory.
      
      	* src/vm/mmu.hh (inst_has_label, inst_get_offset): Remove.
      	* src/vm/virtual_machine.hh (has_label, get_offset): Remove.
      	(add_breakpoint) Wait for an offset instead of a label.
      	* src/vm/virtual_machine.cc: Update accordingly, move label
      	translation into...
      	* src/shell/shell.cc (do_break): ...this method.
      
      4de60919
  6. 15 Jul, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · d01d0c82
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/virtual_machine.cc:
      	Make the MMU responsible of address translation and exception 
      	raising.
      	* src/vm/cp0.hh (raise_addr_load, raise_addr_store): Add address
      	load and store exception.
      	* src/vm/virtual_machine.hh (execute): Stop execution on fatal
      	exceptions.
      
      d01d0c82
  7. 14 Jul, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 4e5012c9
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/cpu.cc,
      	* src/vm/virtual_machine.cc:
      	Implement reset() method.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hh:
      	Keep and reload the main offset of loaded program.
      
      4e5012c9
    • Benoit Perrot's avatar
      Index: ChangeLog · 7691c8d0
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/vm/virtual_machine.hh: Move the implementation of
              rarely used methods to...
              * src/vm/virtual_machine.cc: This file.
      
      
      7691c8d0
  8. 21 Aug, 2003 1 commit
  9. 13 Aug, 2003 1 commit
  10. 20 Jul, 2003 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 7b931e51
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/vm/virtual_machine.hh, src/vm/virtual_machine.cc,
              * src/vm/vm-tasks.hh, src/vm/vm-tasks.cc:
              Check preservation of callee save registers on demand.
              * src/parse/parse-tasks.cc: Remove useless includes.
      
              * TODO: Update.
      
      7b931e51
  11. 24 Jun, 2003 1 commit
  12. 11 Jul, 2003 3 commits
  13. 07 Jul, 2003 1 commit
  14. 06 Jul, 2003 2 commits
  15. 05 Jul, 2003 1 commit
  16. 04 Jul, 2003 2 commits
  17. 03 Jul, 2003 1 commit
  18. 02 Apr, 2003 1 commit
  19. 03 Jul, 2003 1 commit