- Timestamp:
- Sep 9, 2014, 3:05:49 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_leti/arch.py
r793 r796 159 159 ### external peripherals (accessible in cluster[0,0] only for this mapping) 160 160 161 bdv = mapping.addPeriph( 'BDV', base = bdv_base, size = bdv_size, 162 ptype = 'IOC', subtype = 'BDV' ) 161 if not use_ramdisk: 162 bdv = mapping.addPeriph( 'BDV', base = bdv_base, size = bdv_size, 163 ptype = 'IOC', subtype = 'BDV' ) 163 164 164 165 tty = mapping.addPeriph( 'TTY', base = tty_base, size = tty_size, … … 226 227 ### global vsegs for external peripherals / identity mapping 227 228 228 mapping.addGlobal( 'seg_bdv', bdv_base, bdv_size, '__W_', 229 vtype = 'PERI', x = 0, y = 0, pseg = 'BDV', 230 identity = True ) 229 if not use_ramdisk: 230 mapping.addGlobal( 'seg_bdv', bdv_base, bdv_size, '__W_', 231 vtype = 'PERI', x = 0, y = 0, pseg = 'BDV', 232 identity = True ) 231 233 232 234 mapping.addGlobal( 'seg_tty', tty_base, tty_size, '__W_', -
trunk/platforms/tsar_generic_leti/top.cpp
r795 r796 601 601 //////////////////////////// 602 602 603 #if USE_ RAMDISK603 #if USE_IOC_RDK 604 604 std::ostringstream ramdisk_name; 605 605 ramdisk_name << disk_name << "@" << std::hex << SEG_RDK_BASE << ":"; -
trunk/softs/tsar_boot/src/reset_ioc.c
r758 r796 7 7 * 8 8 * \note These functions call the specific disk controller driver depending 9 * on the USE_IOC_BDV, USE_IOC_SPI or USE_ RAMDISK constants9 * on the USE_IOC_BDV, USE_IOC_SPI or USE_IOC_RDK constants 10 10 */ 11 11 … … 13 13 #include <defs.h> 14 14 15 #if !defined(USE_IOC_BDV) && !defined(USE_IOC_SPI) && !defined(USE_ RAMDISK)15 #if !defined(USE_IOC_BDV) && !defined(USE_IOC_SPI) && !defined(USE_IOC_RDK) 16 16 # error "One of the USE_IOC_* constants must be defined in the hard_config.h" 17 17 #endif 18 18 19 #if (USE_IOC_BDV + USE_IOC_SPI + USE_ RAMDISK) != 119 #if (USE_IOC_BDV + USE_IOC_SPI + USE_IOC_RDK) != 1 20 20 # error "Only one disk controller must be used" 21 21 #endif … … 29 29 #endif 30 30 31 #if USE_ RAMDISK31 #if USE_IOC_RDK 32 32 #include <reset_rdk.h> 33 33 #endif … … 42 42 #elif USE_IOC_SPI 43 43 return reset_sdc_init(); 44 #elif USE_ RAMDISK44 #elif USE_IOC_RDK 45 45 return reset_rdk_init(); 46 46 #else … … 65 65 #elif USE_IOC_SPI 66 66 return reset_sdc_read(lba, buffer, count); 67 #elif USE_ RAMDISK67 #elif USE_IOC_RDK 68 68 return reset_rdk_read(lba, buffer, count); 69 69 #else
Note: See TracChangeset
for help on using the changeset viewer.