Changeset 297 for soft/giet_vm/giet_drivers/mmc_driver.c
- Timestamp:
- Mar 28, 2014, 10:48:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/mmc_driver.c
r295 r297 41 41 42 42 /////////////////////////////////////////////////////////////////////////////////// 43 // _memc_inval()44 43 // This function invalidates all cache lines covering a memory buffer defined 45 44 // by the physical base address, and the length. 46 45 // The buffer address MSB are used to compute the cluster index. 47 46 /////////////////////////////////////////////////////////////////////////////////// 48 void _m emc_inval( paddr_t buf_paddr,49 47 void _mmc_inval( paddr_t buf_paddr, 48 unsigned int buf_length ) 50 49 { 51 50 // compute cluster coordinates … … 78 77 } 79 78 /////////////////////////////////////////////////////////////////////////////////// 80 // _memc_sync()81 79 // This function copies to external RAM all cache lines covering a memory buffer 82 80 // defined by the physical base address, and the length, if they are dirty. 83 81 // The buffer address MSB are used to compute the cluster index. 84 82 /////////////////////////////////////////////////////////////////////////////////// 85 void _m emc_sync( paddr_t buf_paddr,86 83 void _mmc_sync( paddr_t buf_paddr, 84 unsigned int buf_length ) 87 85 { 88 86 // compute cluster coordinates … … 115 113 } 116 114 115 ////////////////////////////////////////////////////////////////////////////////// 116 // This ISR access the vci_mem_cache component to get the faulty physical 117 // address and the associated SRCID. It must also acknowledge the IRQ. 118 // 119 // TODO implement... 120 ////////////////////////////////////////////////////////////////////////////////// 121 void _mmc_isr( unsigned int irq_type, // should be HWI 122 unsigned int irq_id, // index returned by ICU 123 unsigned int channel ) // unused 124 { 125 _printf("[GIET ERROR] MMC IRQ received, but _mmc_isr() not implemented...\n"); 126 } 127 128 129 117 130 // Local Variables: 118 131 // tab-width: 4
Note: See TracChangeset
for help on using the changeset viewer.