Changeset 728 for soft/giet_vm/giet_drivers/bdv_driver.h
- Timestamp:
- Nov 21, 2015, 2:53:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/bdv_driver.h
r709 r728 15 15 // - in "synchronous" mode, it uses a polling policy on the BDV STATUS 16 16 // register to detect transfer completion, as interrupts are not activated. 17 // This mode isused by the boot code to load the map.bin file into memory17 // This mode must be used by the boot code to load the map.bin file into memory 18 18 // (before MMU activation), or to load the .elf files (after MMU activation). 19 // As only one processor acces the block device, it doesn't take the _bdv_lock. 20 // 19 21 // - In "descheduling" mode, ir uses a descheduling + IRQ policy. 22 // This mode mus be used by the kernel code tho handle system calls. 20 23 // The ISR executed when transfer completes should restart the calling task, 21 24 // as the calling task global index has been saved in the _bdv_gtid variable. 22 // 23 // As the BDV component can be used by several programs running in parallel, 24 // the _bdv_lock variable guaranties exclusive access to the device. 25 // As the BDV component can be used by several programs running in parallel, 26 // it takes the _bdv_lock and registers it in the calling task context. 25 27 // 26 28 // The SEG_IOC_BASE address must be defined in the hard_config.h file.
Note: See TracChangeset
for help on using the changeset viewer.