- Timestamp:
- Jan 27, 2015, 5:58:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/top.cpp
r926 r935 933 933 // Loader 934 934 //////////////////////////// 935 soclib::common::Loader *loader; 935 936 936 937 #if USE_ALMOS 937 soclib::common::Loader loader(almos_bootloader_pathname,938 almos_archinfo_pathname,939 almos_kernel_pathname);938 loader = new soclib::common::Loader (almos_bootloader_pathname, 939 almos_archinfo_pathname, 940 almos_kernel_pathname); 940 941 #else 941 soclib::common::Loader loader(soft_name, dsoft_name); 942 if (strcmp(soft_name, "") == 0) 943 { 944 loader = new soclib::common::Loader (dsoft_name); 945 } 946 else 947 { 948 loader = new soclib::common::Loader (soft_name, dsoft_name); 949 } 942 950 #endif 943 951 944 952 // initialize memory with a value different than 0 (expose software errors 945 953 // dues to uninitialized data) 946 loader .memory_default(0xA0);954 loader->memory_default(0xA0); 947 955 948 956 typedef soclib::common::GdbServer<soclib::common::Mips32ElIss> proc_iss; … … 1037 1045 IntTab(0, IOX_ROM_TGT_ID), 1038 1046 maptab_iox, 1039 loader,1047 *loader, 1040 1048 X_WIDTH + Y_WIDTH ); 1041 1049 … … 1134 1142 distributed_boot, 1135 1143 1136 loader,1144 *loader, 1137 1145 1138 1146 frozen_cycles,
Note: See TracChangeset
for help on using the changeset viewer.