The Operating System interface module.
More...
The Operating System interface module.
◆ os_cpu_getAvailable()
| t_status os_cpu_getAvailable |
( |
t_cpu_nlogical * |
ncpus | ) |
|
Get the number of online Logical CPUs.
- Parameters
-
| [out] | ncpus | - Number of Logical CPUs available |
- Returns
- Operation status
◆ os_cpu_getMax()
| t_status os_cpu_getMax |
( |
t_cpu_nlogical * |
ncpus | ) |
|
Get the maximum number of Logical CPUs that the OS can address.
- Parameters
-
| [out] | ncpus | - Number of logical CPUs that can be managed by the OS |
- Returns
- Operation status
◆ os_cpu_getPresent()
| t_status os_cpu_getPresent |
( |
t_cpu_nlogical * |
ncpus | ) |
|
Get the number of present/configured Logical CPUs.
- Parameters
-
| [out] | ncpus | - Number of Logical CPUs visible by the OS |
- Returns
- Operation status
◆ os_domain_get()
Get the machine domain name.
- Parameters
-
| [in] | info | - OS Info |
| [out] | domainname | - Machine domain name |
- Returns
- Operation status
◆ os_info_get()
Get the Operating System information.
- Parameters
-
- Returns
- Operation status
◆ os_machine_get()
Get the machine name.
- Parameters
-
| [in] | info | - OS Info |
| [out] | machine | - Machine name |
- Returns
- Operation status
◆ os_memory_getMax()
| t_status os_memory_getMax |
( |
uint64_t * |
size | ) |
|
Get the total memory available to the OS This may not be all machine memory.
- Parameters
-
| [out] | size | - Size of memory |
- Returns
- Operation status
◆ os_memory_getNumberOfPages()
| t_status os_memory_getNumberOfPages |
( |
uint32_t * |
number | ) |
|
Get the number of pages in the memory.
- Parameters
-
| [out] | number | - Memory pages |
- Returns
- Operation status
◆ os_memory_getPageSize()
| t_status os_memory_getPageSize |
( |
uint32_t * |
size | ) |
|
Get the size of each OS memory page.
- Parameters
-
| [out] | size | - Size of a memory page |
- Returns
- Operation status
◆ os_module_supported()
Declares if the module is supported on the current implementation.
- Returns
- SUCCESS or FAILURE
◆ os_name_get()
Get the OS name.
- Parameters
-
| [in] | info | - OS Info |
| [out] | name | - OS name |
- Returns
- Operation status
◆ os_node_get()
Get the OS Node name.
- Parameters
-
| [in] | info | - OS Info |
| [out] | nodename | - OS node name |
- Returns
- Operation status
◆ os_provider_get()
Get the OS provider name (Vendor)
- Parameters
-
| [in] | info | - OS Info |
| [out] | provider | - Vendor name |
- Returns
- Operation status
◆ os_providerRelease_get()
Get the Vendor Release.
- Parameters
-
| [in] | info | - OS Info |
| [out] | providerRelease | - Vendor release |
- Returns
- Operation status
◆ os_release_get()
Get the OS release.
- Parameters
-
| [in] | info | - OS Info |
| [out] | release | - OS release |
- Returns
- Operation status
◆ os_time_getBoot()
Get the OS boot time.
- Parameters
-
- Returns
- Operation status
◆ os_version_get()
Get the OS version.
- Parameters
-
| [in] | info | - OS Info |
| [out] | version | - OS version |
- Returns
- Operation status