vfs: check userland buffers before reading them.
[haiku.git] / headers / private / kernel / arch / system_info.h
blobf765be64bd3428179d09ba0e034c5999fad0e99c
1 /*
2 * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_ARCH_SYSTEM_INFO_H
6 #define _KERNEL_ARCH_SYSTEM_INFO_H
9 #include <OS.h>
10 #include <arch_system_info.h>
13 struct kernel_args;
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 status_t arch_system_info_init(struct kernel_args *args);
21 void arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu);
23 #ifdef __cplusplus
25 #endif
27 #endif /* _KRENEL_ARCH_SYSTEM_INFO_H */