Changeset 756


Ignore:
Timestamp:
Jul 24, 2014, 3:19:15 PM (10 years ago)
Author:
cfuguet
Message:

reconfiguration/tsar_generic_iob: init memory value

  • Initialize memory with value different than 0 to expose software bugs concerning not initialized data
  • Adding Makefile rule to generate platform cscope tags file
Location:
branches/reconfiguration/platforms/tsar_generic_iob
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/Makefile

    r747 r756  
     1TAGS := cscope.out
     2
     3all: simul.x
     4tags: $(TAGS)
     5
    16simul.x: top.cpp top.desc
    27        soclib-cc -P -p top.desc -I. -o simul.x
     8
     9$(TAGS): top.desc
     10        soclib-cc -p $< --tags --tags-type=cscope --tags-output=$@
    311
    412clean:
     
    614        rm -rf *.o *.x tty* term*
    715
    8 .PHONY:simul.x
     16.PHONY: simul.x $(TAGS)
    917
  • branches/reconfiguration/platforms/tsar_generic_iob/top.cpp

    r751 r756  
    896896#endif
    897897
     898   // initialize memory with a value different than 0 (expose software errors
     899   // dues to uninitialized data)
     900   loader.memory_default(0xA0);
     901
    898902   typedef soclib::common::GdbServer<soclib::common::Mips32ElIss> proc_iss;
    899903   proc_iss::set_loader(loader);
Note: See TracChangeset for help on using the changeset viewer.