Changeset 1046 for trunk/platforms
- Timestamp:
- Sep 6, 2016, 3:36:43 PM (8 years ago)
- Location:
- trunk/platforms/tsar_generic_iob
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/arch_info.py
r1045 r1046 149 149 y_width = y_width, 150 150 irqs_per_core = irqs_per_core, 151 use_ramdisk = (ioc_type == 'RDK'),152 151 io_cxy = io_cxy, 153 152 boot_cxy = boot_cxy, 154 reset_address = rom_base ) 153 reset_address = rom_base, 154 p_width = p_width ) 155 155 156 156 #################################################### -
trunk/platforms/tsar_generic_iob/top.cpp
r1044 r1046 159 159 160 160 ////////////////////////////////////////////////////////////////// 161 // For ALMOS161 // Virtual disk selection => OS selection 162 162 ////////////////////////////////////////////////////////////////// 163 163 164 #define USE_ALMOS 0 165 166 #define almos_bootloader_pathname "bootloader.bin" 167 #define almos_kernel_pathname "kernel-soclib.bin@0xbfc10000:D" 168 #define almos_archinfo_pathname "arch-info.bin@0xBFC08000:D" 169 164 #define USE_ALMOS 1 165 #define USE_GIET 0 166 167 #if ( USE_ALMOS + USE_GIET != 1 ) 168 #error "OS UNDEFINED" 169 #endif 170 171 #if USE_ALMOS 172 #define DISK_IMAGE_NAME "almos_virt_hdd.dmg" 173 #endif 174 175 #if USE_GIET 176 #define DISK_IMAGE_NAME "giet_virt_hdd.dmg" 177 #endif 170 178 ////////////////////////////////////////////////////////////////// 171 179 // Parallelisation … … 226 234 #define L1_DWAYS 4 227 235 #define L1_DSETS 64 228 229 #define DISK_IMAGE_NAME "virt_hdd.dmg"230 236 231 237 #define ROM_SOFT_NAME "../../softs/tsar_boot/preloader.elf" … … 984 990 sc_signal<bool> signal_sdc_dat_value_from_card[4]; 985 991 986 //////////////////////////// 987 // Loader 988 //////////////////////////// 989 990 #if USE_ALMOS 991 soclib::common::Loader loader(almos_bootloader_pathname, 992 almos_archinfo_pathname, 993 almos_kernel_pathname); 994 #else 992 //////////////////////////////////////////////// 993 // Load the preloader code in the ROM 994 //////////////////////////////////////////////// 995 995 996 soclib::common::Loader loader(soft_name); 996 #endif997 997 998 998 typedef soclib::common::GdbServer<soclib::common::Mips32ElIss> proc_iss;
Note: See TracChangeset
for help on using the changeset viewer.