1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2024 Linaro Limited
6 #ifndef __SMBIOS_PLAT_H
7 #define __SMBIOS_PLAT_H
12 union cache_config config;
13 union cache_sram_type supp_sram_type;
14 union cache_sram_type curr_sram_type;
25 struct processor_info {
53 struct processor_info *processor;
54 struct cache_info *cache;
55 /* add other sysinfo structure here */
58 #if defined CONFIG_SYSINFO_SMBIOS
59 int sysinfo_get_cache_info(u8 level, struct cache_info *cache_info);
60 void sysinfo_cache_info_default(struct cache_info *ci);
61 int sysinfo_get_processor_info(struct processor_info *pinfo);
63 static inline int sysinfo_get_cache_info(u8 level,
64 struct cache_info *cache_info)
69 static inline void sysinfo_cache_info_default(struct cache_info *ci)
73 static inline int sysinfo_get_processor_info(struct processor_info *pinfo)
79 #endif /* __SMBIOS_PLAT_H */