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 7 8 9 #include <OS.h> 10 11 struct kernel_args; 12 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 extern status_t system_info_init(struct kernel_args *args); 19 extern uint32 get_haiku_revision(void); 20 21 extern status_t _user_get_system_info(system_info *userInfo, size_t size); 22 extern status_t _user_get_system_info_etc(int32 id, void *buffer, 23 size_t bufferSize); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* _KERNEL_SYSTEM_INFO_H */ 30