1. 08 Jan, 2006 2 commits
    • Benoit Perrot's avatar
      2006-01-08 Benoît Perrot <benoit@lrde.epita.fr> · 5ce2b34b
      Benoit Perrot authored
      	Control coprocessor has the system library
      
      	* src/vm/cp0.hh, src/vm/cp0.hxx:
      	(set_system_library) New.
      	(raise_syscall) Invoke system library if any.
      	* src/vm/cpu.hh, src/vm/cpu.hxx:
      	(set_system_library) Remove.
      	* src/vm/cpu.cc:
      	(syscall) Raise a syscall exception through cp0.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hxx:
      	(get_cp0) New non-const accessor.
      	(set_system_library) Remove.
      	* src/vm-tasks.cc:
      	Access cp0 to set system library.
      
      5ce2b34b
    • Benoit Perrot's avatar
      2006-01-08 Benoît Perrot <benoit@lrde.epita.fr> · 883f5fac
      Benoit Perrot authored
      	Move inline implementations from .hh files to .hxx
      
      	* src/inst/register.hh,
      	* src/inst/label.hh,
      	* src/inst/text_label.hh,
      	* src/inst/exp.hh,
      	* src/inst/int_exp.hh,
      	* src/inst/label_exp.hh,
      	* src/inst/op_exp.hh,
      	* src/inst/inst.hh,
      	* src/inst/section.hh,
      	* src/inst/data_section.hh,
      	* src/inst/text_section.hh,
      	* src/inst/program.hh,
      	* src/inst/program_builder.hh.gen.py,
      	* src/inst/program_solver.gen.py,
      	* src/vm/cp0.hh,
      	* src/vm/cpu.hh,
      	* src/vm/mmu.hh,
      	* src/vm/memory.hh,
      	* src/vm/segment.hh,
      	* src/vm/system_library.hh,
      	* src/vm/spim_system_library.hh,
      	* src/vm/nolimips_system_library.hh,
      	* src/vm/virtual_machine.hh,
      	* src/shell/cmd.hh,
      	* src/shell/shell.hh,
      	* src/task/task.hh,
      	* src/task/task_register.hh:
      	Split into...
      	* src/inst/register.hxx,
      	* src/inst/label.hxx, src/inst/label.cc,
      	* src/inst/text_label.hxx, src/inst/text_label.cc,	
      	* src/inst/exp.hxx, src/inst/exp.cc,
      	* src/inst/int_exp.hxx, src/inst/int_exp.cc,
      	* src/inst/label_exp.hxx, src/inst/label_exp.cc,
      	* src/inst/op_exp.hxx, src/inst/op_exp.cc,
      	* src/inst/inst.hxx, src/inst/inst.cc,
      	* src/inst/section.hxx, src/inst/section.cc,	
      	* src/inst/data_section.hxx, src/inst/data_section.cc,
      	* src/inst/text_section.hxx, src/inst/text_section.cc,
      	* src/inst/program.hxx,
      	* src/inst/program_builder.hxx,
      	* src/inst/program_solver.hxx,
      	* src/vm/cp0.hxx,
      	* src/vm/cpu.hxx, src/vm/cpu.cc,
      	* src/vm/mmu.hxx,
      	* src/vm/memory.hxx,
      	* src/vm/segment.hxx,
      	* src/vm/system_library.hxx, src/vm/system_library.cc,
      	* src/vm/spim_system_library.hxx, src/vm/spim_system_library.cc,
      	* src/vm/nolimips_system_library.hxx, src/vm/nolimips_system_library.cc,
      	* src/vm/virtual_machine.hxx, src/vm/virtual_machine.cc,
      	* src/shell/cmd.hxx,
      	* src/shell/shell.hxx, src/shell/shell.cc,
      	* src/task/task.hxx, src/task/task.cc,
      	* src/task/task_register.hxx, src/task/task_register.cc:
      	... These files, respectively.
      	* src/inst/Makefile.am,
      	* src/shell/Makefile.am,
      	* src/task/Makefile.am,
      	* src/vm/Makefile.am:
      	Update accordingly.
      
      	* src/inst/exp-visitor.hh:
      	Use fwd.hh
      	* src/task-tasks.cc, src/nolimips-tasks.cc:
      	Include task_register.hh
      	* src/task/boolean_task.hh,
      	* src/task/function_task.hh,
      	* src/task/int_task.hh,
      	* src/task/string_task.hh:
      	Homogeneize coding style.
      
      883f5fac