Changeset 754 for soft/giet_vm/giet_drivers
- Timestamp:
- Jan 7, 2016, 4:12:54 PM (9 years ago)
- Location:
- soft/giet_vm/giet_drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/mmc_driver.c
r630 r754 10 10 #include <tty0.h> 11 11 #include <kernel_locks.h> 12 #include <kernel_malloc.h> 12 13 #include <utils.h> 13 14 … … 80 81 else 81 82 { 83 // get heap_base & heap size 84 unsigned int heap_base; 85 unsigned int heap_size; 86 if ( _get_heap_info( &heap_base, &heap_size, x, y ) ) continue; 87 82 88 _mmc_distributed_lock[x][y] = _remote_malloc( sizeof(spin_lock_t), x, y ); 83 89 _spin_lock_init( _mmc_distributed_lock[x][y] ); -
soft/giet_vm/giet_drivers/rdk_driver.c
r529 r754 26 26 #if USE_IOC_RDK 27 27 28 #if GIET_DEBUG_IOC _DRIVER28 #if GIET_DEBUG_IOC 29 29 unsigned int procid = _get_procid(); 30 30 unsigned int x = procid >> (Y_WIDTH + P_WIDTH); … … 37 37 38 38 char* rdk = (char*)SEG_RDK_BASE + (512*lba); 39 char* buf = (char*)buf_ paddr;39 char* buf = (char*)buf_vaddr; 40 40 41 41 if ( to_mem ) memcpy( buf, rdk, count*512 );
Note: See TracChangeset
for help on using the changeset viewer.