Ignore:
Timestamp:
Jul 12, 2017, 8:12:41 PM (5 years ago)
Author:
alain
Message:

Redefine the PIC device API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_fbf.h

    r3 r188  
    9090
    9191/******************************************************************************************
    92  * This function completes the FBF chdev descriptor initialisation,
    93  * namely the width and height parameters.
    94  * TODO : these parameters should be provided by the hardware through a dedicated
    95  * software API ...
     92 * This function completes the FBF chdev descriptor initialisation.
    9693 * It calls the specific driver initialisation function, to initialise the hardware
    9794 * device and the specific data structures when required by the implementation.
    9895 * It must be called by a local thread.
     96 *
     97 * TODO In this first approach, the "width" and "height" parameters are defined
     98 * by the CONFIG_FBF_WIDTH & CONFIG_FBF_HEIGHT in the kernel_config.h file.
     99 * These parameters should be provided by the driver, accessing dedicated
     100 * adressable registers in the FBF controler.
    99101 ******************************************************************************************
    100102 * @ chdev      : pointer on FBF chdev descriptor.
    101  * @ width      : number of pixels (bytes) per line.
    102  * @ height     : total number of lines.
    103103 *****************************************************************************************/
    104 void dev_fbf_init( struct chdev_s * chdev,
    105                    uint32_t         width,
    106                    uint32_t         height );
     104void dev_fbf_init( struct chdev_s * chdev );
    107105
    108106/******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.