Changeset 642 for trunk


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()

Location:
trunk/kernel/syscalls
Files:
3 added
2 edited

Legend:

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

    r641 r642  
    9292    SYS_GET_NB_CORES    = 54,
    9393    SYS_GET_THREAD_INFO = 55,
     94    SYS_FBF             = 56,
    9495
    95     SYSCALLS_NR         = 56,
     96    SYSCALLS_NR         = 57,
    9697
    9798} syscalls_t;
  • 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.