2 * Copyright 2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * François Revol <revol@free.fr>
8 * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
9 * All rights reserved. Distributed under the terms of the MIT License.
16 #include <arch/system_info.h>
17 #include <boot/kernel_args.h>
21 arch_get_system_info(system_info
*info
, size_t size
)
28 arch_fill_topology_node(cpu_topology_node_info
* node
, int32 cpu
)
33 node
->data
.root
.platform
= B_CPU_ARM
;
36 case B_TOPOLOGY_PACKAGE
:
37 //TODO node->data.package.vendor = sCPUVendor;
38 node
->data
.package
.cache_line_size
= CACHE_LINE_SIZE
;
42 //TODO node->data.core.model = sPVR;
43 //TODO node->data.core.default_frequency = sCPUClockFrequency;
53 arch_system_info_init(struct kernel_args
*args
)