coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ocp_dmi.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef __OCP_DMI_H
4 #define __OCP_DMI_H
5 
6 #include <cpu/x86/msr.h>
7 #include <device/device.h>
8 #include <smbios.h>
9 
10 #define TBF "To Be Filled By O.E.M."
11 
12 extern msr_t xeon_sp_ppin[];
13 
14 /* Override SMBIOS type 11 OEM string 1 to string 6 */
15 void ocp_oem_smbios_strings(struct device *dev, struct smbios_type11 *t);
16 
17 /* This function allows adding the same repeated string to the table */
18 int smbios_add_oem_string(u8 *start, const char *str);
19 
20 #endif
void ocp_oem_smbios_strings(struct device *dev, struct smbios_type11 *t)
Definition: smbios.c:207
msr_t xeon_sp_ppin[]
Definition: smbios.c:22
int smbios_add_oem_string(u8 *start, const char *str)
Definition: smbios.c:164
uint8_t u8
Definition: stdint.h:45
Definition: device.h:107