btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / kernel / arch / arm / arch_system_info.cpp
blobae8784b4055ead5d96f693335beefda11bb24aeb
1 /*
2 * Copyright 2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
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.
13 #include <OS.h>
15 #include <arch_cpu.h>
16 #include <arch/system_info.h>
17 #include <boot/kernel_args.h>
20 status_t
21 arch_get_system_info(system_info *info, size_t size)
23 return B_OK;
27 void
28 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu)
30 switch (node->type) {
31 case B_TOPOLOGY_ROOT:
32 // TODO: ARM_64?
33 node->data.root.platform = B_CPU_ARM;
34 break;
36 case B_TOPOLOGY_PACKAGE:
37 //TODO node->data.package.vendor = sCPUVendor;
38 node->data.package.cache_line_size = CACHE_LINE_SIZE;
39 break;
41 case B_TOPOLOGY_CORE:
42 //TODO node->data.core.model = sPVR;
43 //TODO node->data.core.default_frequency = sCPUClockFrequency;
44 break;
46 default:
47 break;
52 status_t
53 arch_system_info_init(struct kernel_args *args)
55 return B_OK;