Changeset 50 for trunk/kernel/devices
- Timestamp:
- Jun 26, 2017, 3:15:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_ioc.c
r23 r50 22 22 */ 23 23 24 #include <hard_config.h> 24 25 #include <kernel_config.h> 25 26 #include <hal_types.h> … … 130 131 #if USE_IOB // software L2/L3 cache coherence for memory buffer 131 132 132 if ( type == IOC_READ ) dev_mmc_inval( XPTR( local_cxy , buffer ) , count<<9 );133 else dev_mmc_sync ( XPTR( local_cxy , buffer ) , count<<9 );133 if ( cmd_type == IOC_READ ) dev_mmc_inval( XPTR( local_cxy , buffer ) , count<<9 ); 134 else dev_mmc_sync ( XPTR( local_cxy , buffer ) , count<<9 ); 134 135 135 136 #endif // end software L2/L3 cache coherence
Note: See TracChangeset
for help on using the changeset viewer.