Changeset 630 for trunk/platforms
- Timestamp:
- Feb 12, 2014, 1:40:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_leti/top.cpp
r628 r630 185 185 //////////////////////i///////////////////////////////////// 186 186 187 #if USE_GIET_VM188 #include "giet_vm/hard_config.h"189 #endif190 191 #if USE_GIET_TSAR192 187 #include "../../softs/soft_transpose_giet/hard_config.h" 193 #endif194 188 195 189 //////////////////////////////////////////////////////////// … … 229 223 //////////////////////i///////////////////////////////////// 230 224 231 #if USE_GIET_VM 232 #define loader_args "TBD" 233 #endif 234 235 #if USE_GIET_TSAR 236 #define loader_args "../../softs/soft_transpose_giet/bin.soft" 237 #endif 225 #define elf_loader "../../softs/soft_transpose_giet/bin.soft" 226 #define ramdisk_loader "../../softs/soft_transpose_giet/images.raw@0x00800000:" 238 227 239 228 //////////////////////////////////////////////////////////// … … 426 415 std::cout << " - MAX_CYCLES = " << ncycles << std::endl; 427 416 std::cout << " - RESET_ADDRESS = " << RESET_ADDRESS << std::endl; 428 std::cout << " - SOFT_FILENAME = " << loader_args << std::endl; 417 std::cout << " - SOFT_FILENAME = " << elf_loader << std::endl; 418 std::cout << " - RAMDISK_FILENAME = " << ramdisk_loader << std::endl; 429 419 430 420 std::cout << std::endl; … … 668 658 //////////////////////////// 669 659 670 soclib::common::Loader loader( loader_args ); 660 soclib::common::Loader loader( elf_loader, ramdisk_loader ); 661 662 /////////////////////////// 663 // processor iss 664 /////////////////////////// 671 665 672 666 typedef soclib::common::GdbServer<soclib::common::Mips32ElIss> proc_iss; 673 proc_iss::set_loader( loader);667 proc_iss::set_loader( loader ); 674 668 675 669 ////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.