Ignore:
Timestamp:
Oct 10, 2020, 5:11:27 PM (4 years ago)
Author:
alain
Message:
  • Introduce the sys_socket.c file implementing all socket related syscalls.
  • Improve the non-standard sys_get_config() function.
Location:
trunk/kernel/syscalls/shared_include
Files:
1 added
1 edited

Legend:

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

    r641 r664  
    5555    DISPLAY_BARRIER           = 10,
    5656    DISPLAY_FAT               = 11,
     57    DISPLAY_SOCKET            = 12,
    5758}
    5859display_type_t;
     
    8283thread_info_t;
    8384
     85/*******************************************************************************************
     86 * This structure defines the - user accessible - global hardware configuration.
     87 * It is used by the get_config() syscall.
     88 ******************************************************************************************/
     89
     90typedef struct hard_config_s
     91{
     92    unsigned int      x_size;                /*! number of clusters in a row              */
     93    unsigned int      y_size;                /*! number of clusters in a column           */
     94    unsigned int      ncores;                /*! max number of cores per cluster          */
     95   
     96    unsigned int      txt_channels;          /*! number of TXT channels                   */
     97    unsigned int      nic_channels;          /*! number of NIC channels                   */
     98    unsigned int      ioc_channels;          /*! number of IOC channels                   */
     99    unsigned int      fbf_channels;          /*! number of FBF channels                   */
     100}
     101hard_config_t;
     102
     103
    84104#endif /* _SHARED_ALMOS_H_ */
    85105
Note: See TracChangeset for help on using the changeset viewer.