Changeset 653 for trunk/softs/tsar_boot/include
- Timestamp:
- Mar 3, 2014, 5:11:06 PM (11 years ago)
- Location:
- trunk/softs/tsar_boot/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/include/io.h
r292 r653 39 39 { 40 40 *(volatile unsigned int *) addr = value; 41 asm volatile("sync" );41 asm volatile("sync" ::: "memory"); 42 42 } 43 43 … … 48 48 { 49 49 *(volatile unsigned short *) addr = value; 50 asm volatile("sync" );50 asm volatile("sync" ::: "memory"); 51 51 } 52 52 … … 57 57 { 58 58 *(volatile unsigned char *) addr = value; 59 asm volatile("sync" );59 asm volatile("sync" ::: "memory"); 60 60 } 61 61 -
trunk/softs/tsar_boot/include/reset_ioc.h
r586 r653 2 2 #define RESET_IOC_H 3 3 4 #if ndef SOCLIB_IOC4 #if USE_SPI 5 5 #include <sdcard.h> 6 6 #include <spi.h> 7 #else 7 #endif /* USE_SPI */ 8 9 #if USE_BDV 8 10 #include <block_device.h> 9 11 #include <mcc.h> 10 #endif 12 #endif /* USE_BDV */ 11 13 12 14 #include <defs.h> 13 15 #include <reset_tty.h> 14 16 #include <io.h> 17 #include <reset_utils.h> 15 18 19 #if USE_SPI 16 20 extern int reset_ioc_init(); 21 #endif /* USE_SPI */ 17 22 18 23 extern int reset_ioc_read( unsigned int lba, … … 20 25 unsigned int count ); 21 26 22 extern int reset_ioc_completed(); 23 24 extern void reset_buf_invalidate ( const void * buffer, 25 unsigned int line_size, 26 unsigned int size ); 27 28 extern void reset_mcc_invalidate( const void * buffer, 29 unsigned int size ); 30 #endif 27 #endif /* RESET_IOC_H */ 31 28 32 29 /* -
trunk/softs/tsar_boot/include/reset_utils.h
r586 r653 19 19 extern void reset_print_elf_phdr(Elf32_Phdr * elf_phdr_ptr); 20 20 21 #endif 21 #if USE_IOB 22 void reset_mcc_invalidate ( const void * buffer, 23 unsigned int size); 24 #endif /* USE_IOB */ 25 26 #if (CACHE_COHERENCE == 0) || USE_IOB 27 void reset_buf_invalidate ( const void * buffer, 28 unsigned int line_size, 29 unsigned int size); 30 #endif /* (CACHE_COHERENCE == 0) || USE_IOB */ 31 #endif /* BOOT_UTILS_H */ 22 32 23 33 // vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
Note: See TracChangeset
for help on using the changeset viewer.