Ignore:
Timestamp:
Oct 17, 2019, 3:10:47 PM (5 years ago)
Author:
alain
Message:

Introduce two new syscalls : sys_get_thread_info() / sys_fbf()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/syscalls.h

    r641 r642  
    743743int sys_get_thread_info( thread_info_t * info );
    744744
     745/******************************************************************************************
     746 * [56] This function implements the non-standard "fbf_get_config", "fbf_read" and
     747 * "fbf_write" syscalls, used to access the frame buffer peripheral.
     748 ******************************************************************************************
     749 * @ operation  : [in] operation type (defined in shared_fbf.h)
     750 * @ arg0       : if config : pointer on width   / else : pointer on user buffer 
     751 * @ arg1       : if config : pointer on height  / else : number of bytes to move
     752 * @ arg2       : if config : pointer on type    / else : offset in frame buffer
     753 * @ return 0 if success / return -1 if illegal argument.
     754 *****************************************************************************************/
     755int sys_fbf( uint32_t   operation,
     756             void     * arg0,
     757             void     * arg1,
     758             void     * arg2 );
     759
    745760#endif  // _SYSCALLS_H_
Note: See TracChangeset for help on using the changeset viewer.