aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/arch/default/odp_sysinfo_parse.c
blob: 024bc82174da21e1b7c616532b5691f28f90e41d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright (c) 2016-2018 Linaro Limited
 */

#include <odp_global_data.h>
#include <odp_sysinfo_internal.h>

int _odp_cpuinfo_parser(FILE *file ODP_UNUSED, system_info_t *sysinfo)
{
	return _odp_dummy_cpuinfo(sysinfo);
}

void _odp_sys_info_print_arch(void)
{
}

uint64_t odp_cpu_arch_hz_current(int id ODP_UNUSED)
{
	return odp_global_ro.system_info.default_cpu_hz;
}