Ignore:
Timestamp:
Nov 21, 2015, 2:53:00 PM (9 years ago)
Author:
alain
Message:

bloup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/bdv_driver.h

    r709 r728  
    1515// - in "synchronous" mode, it uses a polling policy on the BDV STATUS
    1616//   register to detect transfer completion, as interrupts are not activated.
    17 //   This mode is used by the boot code to load the map.bin file into memory
     17//   This mode must be used by the boot code to load the map.bin file into memory
    1818//   (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//
    1921// - In "descheduling" mode, ir uses a descheduling + IRQ policy.
     22//   This mode mus be used by the kernel code tho handle system calls.
    2023//   The ISR executed when transfer completes should restart the calling task,
    2124//   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.
    2527//
    2628// The SEG_IOC_BASE address must be defined in the hard_config.h file.
Note: See TracChangeset for help on using the changeset viewer.