Changeset 629 for soft/giet_vm/giet_kernel/kernel_init.c
- Timestamp:
- Jul 18, 2015, 3:00:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/kernel_init.c
r615 r629 113 113 unsigned int _tty0_boot_mode = 0; 114 114 115 // Kernel uses distributed locks to protect MMC116 __attribute__((section(".kdata")))117 unsigned int _mmc_boot_mode = 0;118 119 115 // Kernel uses sqt_lock to protect command allocator in HBA 120 116 __attribute__((section(".kdata"))) … … 131 127 // this variable is defined in tty0.c file 132 128 extern sqt_lock_t _tty0_sqt_lock; 129 130 // this variable is allocated in mmc_kernel.c 131 extern unsigned int _mmc_boot_mode; 133 132 134 133 //////////////////////////////////////////////////////////////////////////////// … … 167 166 #endif 168 167 ////// distributed lock for MMC 168 _mmc_boot_mode = 0; 169 169 _mmc_init_locks(); 170 170 … … 293 293 // compute ctx_epc 294 294 unsigned int* ptr = (unsigned int*)_get_task_slot(x,y,p,ltid,CTX_EPC_ID); 295 _set_task_slot( x,y,p,ltid,CTX_EPC_ID,*ptr);295 _set_task_slot( x , y , p , ltid , CTX_EPC_ID , *ptr ); 296 296 297 297 #if GIET_DEBUG_INIT
Note: See TracChangeset
for help on using the changeset viewer.