Changeset 657 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- Mar 18, 2020, 11:16:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r651 r657 2 2 * syscalls.h - Kernel side services for syscall handling. 3 3 * 4 * Author Alain Greiner (2016,2017,2018,2019 )4 * Author Alain Greiner (2016,2017,2018,2019,2020) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 748 748 749 749 /****************************************************************************************** 750 * [56] This function implements the non-standard "fbf_get_config", "fbf_read" and 751 * "fbf_write" syscalls, used to access the frame buffer peripheral. 752 ****************************************************************************************** 753 * @ operation : [in] operation type (defined in shared_fbf.h) 754 * @ arg0 : if config : pointer on width / else : pointer on user buffer 755 * @ arg1 : if config : pointer on height / else : number of bytes to move 756 * @ arg2 : if config : pointer on type / else : offset in frame buffer 750 * [56] This generic function implements the non-standard FBF related syscalls. 751 * The operation types mnemonics are defined in the <shared_fbf> file. 752 * The supported operations are defined in the <almosmkh.h> & <almosmkh.c> files. 753 * This function ckecks the syscall arguments, and call the relevant kernel function. 754 ****************************************************************************************** 755 * @ arg0 : operation type (mnemonics defined in shared_fbf.h) 756 * @ arg1 : depends on operation type 757 * @ arg2 : depends on operation type 758 * @ arg3 : depends on operation type 757 759 * @ return 0 if success / return -1 if illegal argument. 758 760 *****************************************************************************************/ 759 int sys_fbf( uint32_t operation, 760 void * arg0, 761 void * arg1, 762 void * arg2 ); 761 int sys_fbf( reg_t arg0, 762 reg_t arg1, 763 reg_t arg2, 764 reg_t arg3 ); 765 766 /****************************************************************************************** 767 * [57] This generic function implements the socket related syscalls. 768 * The operation types mnemonics are defined in the <shared_socket> file. 769 * The supported operations are defined in the <socket.h> & <socket.c> files. 770 * This function ckecks the syscall arguments, and call the relevant kernel function. 771 ****************************************************************************************** 772 * @ arg0 : operation type (mnemonics defined in shared_socket.h) 773 * @ arg1 : depends on operation type 774 * @ arg2 : depends on operation type 775 * @ arg3 : depends on operation type 776 * @ return 0 if success / return -1 if illegal argument. 777 *****************************************************************************************/ 778 int sys_socket( reg_t arg0, 779 reg_t arg1, 780 reg_t arg2, 781 reg_t arg3 ); 763 782 764 783 #endif // _SYSCALLS_H_
Note: See TracChangeset
for help on using the changeset viewer.