Make UEFI boot-platform build again
[haiku.git] / headers / private / kernel / ksystem_info.h
blob1fc466d8ee079bb136f9dca0ec45887ee1b7ac1d
1 /*
2 * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_SYSTEM_INFO_H
6 #define _KERNEL_SYSTEM_INFO_H
9 #include <OS.h>
12 struct kernel_args;
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
20 status_t system_info_init(struct kernel_args *args);
21 status_t system_notifications_init();
22 const char* get_haiku_revision(void);
24 status_t _user_get_system_info(system_info *userInfo);
25 status_t _user_get_cpu_info(uint32 firstCPU, uint32 cpuCount, cpu_info* info);
26 status_t _user_get_cpu_topology_info(cpu_topology_node_info* topologyInfos,
27 uint32* topologyInfoCount);
29 status_t _user_get_system_info_etc(int32 id, void *buffer,
30 size_t bufferSize);
32 status_t _user_start_watching_system(int32 object, uint32 flags, port_id port,
33 int32 token);
34 status_t _user_stop_watching_system(int32 object, uint32 flags, port_id port,
35 int32 token);
38 #ifdef __cplusplus
40 #endif
43 #endif /* _KERNEL_SYSTEM_INFO_H */