Changeset 584 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- Nov 1, 2018, 12:13:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r566 r584 409 409 /****************************************************************************************** 410 410 * [32] This function associate a specific signal handler to a given signal type. 411 * T ee handlers for the SIGKILL and SIGSTOP signals cannot be redefined.411 * The handlers for the SIGKILL and SIGSTOP signals cannot be redefined. 412 412 ****************************************************************************************** 413 413 * @ sig_id : index defining signal type (from 1 to 31). … … 530 530 531 531 /****************************************************************************************** 532 * [40] This function returns the hardware platform parameters. 532 * [40] This function implement the non-standard get_config() syscall. 533 * It returns in <x_size>, <y_size>, <ncores> the hardware platform parameters. 533 534 ****************************************************************************************** 534 535 * @ x_size : [out] number of clusters in a row. … … 542 543 543 544 /****************************************************************************************** 544 * [41] This function returns the calling core cluster and local index. 545 * [41] This function implements the non-standard get_core() syscall. 546 * It returns in <cxy> and <lid> the calling core cluster and local index. 545 547 ****************************************************************************************** 546 548 * @ cxy : [out] cluster identifier (fixed format) … … 552 554 553 555 /****************************************************************************************** 554 * [42] This function returns in a 64 bits user buffer the calling core cycles count. 556 * [42] This function implements the non-standard get_cycle() syscall. 557 * It returns in a 64 bits user buffer the calling core cycles count. 555 558 * It uses both the hardware register and the core descriptor cycles count to take 556 559 * into account a possible harware register overflow in 32 bits architectures. … … 584 587 585 588 /****************************************************************************************** 586 * [44] TBD 589 * [44] This function implements the non-standard place_fork() syscall. 590 * It can be used to specify the target cluster <cxy> for a new process created 591 * by a subsequent fork() syscall. 592 * WARNING: it must be called before each fork() syscall, as the placement specification 593 * is reset by the fork syscall. 587 594 ****************************************************************************************** 588 595 * @ cxy : cluster identifier. 589 * @ lid : core local index. 590 * @ return 0 if success / return -1 if failure. 591 *****************************************************************************************/ 592 int sys_place( uint32_t cxy, 593 uint32_t lid ); 596 * @ return 0 if success / return -1 if failure. 597 *****************************************************************************************/ 598 int sys_place_fork( uint32_t cxy ); 594 599 595 600 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.