/* * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #ifndef _KERNEL_SYSTEM_INFO_H #define _KERNEL_SYSTEM_INFO_H #include struct kernel_args; #ifdef __cplusplus extern "C" { #endif status_t system_info_init(struct kernel_args *args); status_t system_notifications_init(); const char* get_haiku_revision(void); status_t _user_get_system_info(system_info *userInfo); status_t _user_get_cpu_info(uint32 firstCPU, uint32 cpuCount, cpu_info* info); status_t _user_get_cpu_topology_info(cpu_topology_node_info* topologyInfos, uint32* topologyInfoCount); status_t _user_get_system_info_etc(int32 id, void *buffer, size_t bufferSize); status_t _user_start_watching_system(int32 object, uint32 flags, port_id port, int32 token); status_t _user_stop_watching_system(int32 object, uint32 flags, port_id port, int32 token); #ifdef __cplusplus } #endif #endif /* _KERNEL_SYSTEM_INFO_H */