Changeset 664 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- Oct 10, 2020, 5:11:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r657 r664 348 348 * but the directory must exist in the file system. 349 349 * It returns a DIR pointer <dirp> on the dirent array in user space. 350 * The calling process fd_array is NOT modified. 350 351 ****************************************************************************************** 351 352 * @ pathname : [in] pathname (can be relative or absolute). … … 558 559 /****************************************************************************************** 559 560 * [40] This function implement the non-standard get_config() syscall. 560 * It returns in <x_size>, <y_size>, <ncores> the hardware platform parameters. 561 ****************************************************************************************** 562 * @ x_size : [out] number of clusters in a row. 563 * @ y_size : [out] number of clusters in a column. 564 * @ ncores : [out] number of cores per cluster. 565 * @ return 0 if success / return -1 if illegal arguments 566 *****************************************************************************************/ 567 int sys_get_config( uint32_t * x_size, 568 uint32_t * y_size, 569 uint32_t * ncores ); 561 * It returns the global hardware platform parameters in the <config> shared structure, 562 * that is defined in the shared_almos.h file. 563 ****************************************************************************************** 564 * @ config : [out] pointer on the hard_config_t structure in user space. 565 * @ return 0 if success / return -1 if illegal argument 566 *****************************************************************************************/ 567 int sys_get_config( struct hard_config_s * config ); 570 568 571 569 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.