Home
last modified time | relevance | path

Searched full:smbios (Results 1 – 25 of 199) sorted by relevance

12345678

/openbmc/qemu/include/hw/firmware/
H A Dsmbios.h8 * SMBIOS Support
49 /* SMBIOS Entry Point
50 * There are two types of entry points defined in the SMBIOS specification
53 * can be used in a 64-bit target system, except that SMBIOS 2.1 entry point
54 * only allows the SMBIOS struct table to reside below 4GB address space.
57 /* SMBIOS 2.1 (32-bit) Entry Point
58 * - introduced since SMBIOS 2.1
78 /* SMBIOS 3.0 (64-bit) Entry Point
79 * - introduced since SMBIOS 3.0
100 /* This goes at the beginning of every SMBIOS structure. */
[all …]
/openbmc/smbios-mdr/
H A DREADME.md1 # smbios-mdr
3 ## SMBIOS Parser
6 binary [SMBIOS][1] table and publishing the system information on D-Bus, to be
9 The SMBIOS table is usually sent to the BMC by the host firmware (BIOS). The
11 the SMBIOS data, but there are at least two implementation today:
20 needs to send an updated SMBIOS table.
23 data to the correct agent (e.g. `smbios-mdr`). The [D-Bus interface][3] between
24 the IPMI handler and `smbios-mdr` is largely a mirror of IPMI commands.
35 implement support for specific blobs. Here in `smbios-mdr` we provide such a
36 blob handler for the `/smbios` blob. It works by writing the data into
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Smbios/
H A DREADME.md1 # SMBIOS MDR V2
5 SMBIOS MDR V2 service exposes D-Bus methods for SMBIOS Version 2 operations.
7 ### SMBIOS MDR V2 Interface
9 SMBIOS MDR V2 interface `xyz.openbmc_project.Smbios.MDR_V2` provides following
16 - SendDirectoryInformation - Send directory information to SMBIOS directory.
21 SMBIOS data start to transfer.
22 - AgentSynchronizeData - Synchronize SMBIOS data from file after data transfer
H A DMDR_V2.interface.yaml2 SMBIOS MDR V2 service
11 Directory index of SMBIOS.
27 Index of SMBIOS directory.
32 Data information of SMBIOS.
38 Send directory information to SMBIOS directory.
47 Directory index of SMBIOS.
59 Data set ID of SMBIOS table.
86 Index of SMBIOS directory.
129 Synchronize SMBIOS data from file.
143 Index of SMBIOS directory.
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-dmi-tables6 data referenced by a SMBIOS table entry point. The SMBIOS
7 entry point contains general information, like SMBIOS
9 size of SMBIOS entry point is dependent on SMBIOS version.
10 The format of SMBIOS entry point and DMI structures
11 can be read in SMBIOS specification.
13 The dmi/tables provides raw SMBIOS entry point and DMI tables
15 from /dev/mem. The raw SMBIOS entry point and DMI table are
H A Ddell-smbios-wmi1 What: /dev/wmi/dell-smbios
6 Perform SMBIOS calls on supported Dell machines.
12 1) To perform an SMBIOS call from userspace, you'll need to
20 the WMI character device /dev/wmi/dell-smbios.
29 4) In this buffer object, prepare as necessary for the SMBIOS
30 call you're interested in. Typically SMBIOS buffers have
/openbmc/linux/drivers/platform/x86/dell/
H A DMakefile12 obj-$(CONFIG_DELL_SMBIOS) += dell-smbios.o
13 dell-smbios-objs := dell-smbios-base.o
14 dell-smbios-$(CONFIG_DELL_SMBIOS_WMI) += dell-smbios-wmi.o
15 dell-smbios-$(CONFIG_DELL_SMBIOS_SMM) += dell-smbios-smm.o
H A DKconfig102 tristate "Dell SMBIOS driver"
107 This provides support for the Dell SMBIOS calling interface.
113 bool "Dell SMBIOS driver WMI backend"
119 This provides an implementation for the Dell SMBIOS calling interface
127 bool "Dell SMBIOS driver SMM backend"
132 This provides an implementation for the Dell SMBIOS calling interface
H A Ddell-smbios-wmi.c3 * WMI methods for use with dell-smbios
15 #include "dell-smbios.h"
70 dev_dbg(&wdev->dev, "SMBIOS call failed: %llu\n", in run_smbios_call()
169 /* some SMBIOS calls fail unless BIOS contains hotfix */ in dell_smbios_wmi_probe()
174 "WMI SMBIOS userspace interface not supported(%u), try upgrading to a newer BIOS\n", in dell_smbios_wmi_probe()
190 /* ID is used by dell-smbios to set priority of drivers */ in dell_smbios_wmi_probe()
254 .name = "dell-smbios",
/openbmc/openbmc/meta-phosphor/recipes-phosphor/smbios/
H A Dsmbios-mdr_git.bb2 …ION = "This package parses SMBIOS tables, reads Intel CPU PIROM and PECI and provides a dedicated …
3 HOMEPAGE = "http://github.com/openbmc/smbios-mdr"
14 PACKAGECONFIG[smbios-no-dimm] = "-Ddimm-dbus=disabled,-Ddimm-dbus=enabled"
17 PACKAGECONFIG[smbios-ipmi-blob] = "-Dsmbios-ipmi-blob=enabled,-Dsmbios-ipmi-blob=disabled,phosphor-…
22 SRC_URI = "git://github.com/openbmc/smbios-mdr.git;branch=master;protocol=https"
25 SYSTEMD_SERVICE:${PN} += "smbios-mdrv2.service"
/openbmc/u-boot/include/
H A Dsmbios.h5 * Adapted from coreboot src/include/smbios.h
11 /* SMBIOS spec version implemented */
15 /* SMBIOS structure types */
201 * fill_smbios_header() - Fill the header of an SMBIOS table
203 * This fills the header of an SMBIOS table structure.
221 * Function prototype to write a specific type of SMBIOS structure
230 * write_smbios_table() - Write SMBIOS table
232 * This writes SMBIOS table at a given address.
234 * @addr: start address to write SMBIOS table. If this is not
236 * @return: end address of SMBIOS table (and start address for next entry)
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Smbios/
H A Dmeson.build4 sdbusplus_current_path = 'xyz/openbmc_project/Smbios'
7 'xyz/openbmc_project/Smbios/MDR_V2__markdown'.underscorify(),
9 '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml',
10 '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml',
24 'xyz/openbmc_project/Smbios/MDR_V2',
/openbmc/intel-ipmi-oem/include/
H A Dsmbiosmdrv2handler.hpp25 static constexpr const char* mdrType2File = "/var/lib/smbios/smbios2";
26 static constexpr const char* smbiosPath = "/var/lib/smbios";
28 1024 * 60; // Total size will transfer for smbios table
32 0x0101; // Agent ID for smbios entry
45 // smbios
49 static constexpr const int smbiosDirIndex = 0; // SMBIOS directory index
52 15; // Version of smbios table
54 0x45464748; // Time stamp when smbios table created
60 64 * 1024; // Total size of smbios table
67 constexpr const char* mdrv2Path = "/xyz/openbmc_project/Smbios/MDR_V2";
[all …]
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/
H A DBiosTablesTest.h2 Expose the address(es) of the ACPI RSD PTR table(s) and the SMBIOS entry
6 that is at offset 0 in the structure. Once the RSD PTR and SMBIOS anchor
7 address(es) are retrieved, the hypervisor may perform various ACPI and SMBIOS
10 This feature is a development aid, for supporting ACPI and SMBIOS table unit
67 // matches. Smbios21 is the guest-physical address of the SMBIOS 2.1 (32-bit)
68 // Entry Point Structure from the SMBIOS v3.2.0 specification, in 8-byte
70 // the SMBIOS 3.0 (64-bit) Entry Point Structure from the same specification,
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Smbios/MDR_V2/
H A Dmeson.build3 sdbusplus_current_path = 'xyz/openbmc_project/Smbios/MDR_V2'
6 'xyz/openbmc_project/Smbios/MDR_V2__cpp'.underscorify(),
8 '../../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml',
9 '../../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml',
31 'xyz/openbmc_project/Smbios/MDR_V2',
/openbmc/smbios-mdr/include/
H A Dmdrv2.hpp37 #include <xyz/openbmc_project/Smbios/MDR_V2/server.hpp>
44 namespace smbios namespace
51 "/xyz/openbmc_project/Smbios/MDR_V2";
53 "xyz.openbmc_project.Smbios.GetRecordType";
83 sdbusplus::server::xyz::openbmc_project::smbios::MDRV2>
110 sdbusplus::server::xyz::openbmc_project::smbios::MDRV2>( in MDRV2()
119 lg2::info("SMBIOS data file path: {F}", "F", smbiosFilePath); in MDRV2()
120 lg2::info("SMBIOS control object: {O}", "O", smbiosObjectPath); in MDRV2()
121 lg2::info("SMBIOS inventory path: {I}", "I", smbiosInventoryPath); in MDRV2()
203 } // namespace smbios
/openbmc/u-boot/lib/efi_loader/
H A Defi_smbios.c11 #include <smbios.h>
16 * Install the SMBIOS table as a configuration table.
22 /* Map within the low 32 bits, to allow for 32bit SMBIOS tables */ in efi_smbios_register()
27 /* Reserve 4kiB page for SMBIOS */ in efi_smbios_register()
42 * Generate SMBIOS tables - we know that efi_allocate_pages() returns in efi_smbios_register()
/openbmc/smbios-mdr/src/
H A Dmdrv2.cpp25 #include <xyz/openbmc_project/Smbios/MDR_V2/error.hpp>
31 namespace smbios namespace
43 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDirectoryInformation()
49 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDirectoryInformation()
130 "smbios is not ready for update"); in getDataOffer()
131 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDataOffer()
187 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDataInformation()
266 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDirectoryInformation()
274 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDirectoryInformation()
317 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDataInformation()
[all …]
H A Dmdrv2_main.cpp35 connection->request_name("xyz.openbmc_project.Smbios.MDR_V2"); in main()
37 auto mdrV2 = std::make_shared<phosphor::smbios::MDRV2>( in main()
39 phosphor::smbios::defaultObjectPath, in main()
40 phosphor::smbios::defaultInventoryPath); in main()
/openbmc/qemu/hw/smbios/
H A Dsmbios.c2 * SMBIOS Support
26 #include "hw/firmware/smbios.h"
34 * SMBIOS tables provided by user with '-smbios file=<foo>' option
68 * 0 which counts as unknown (SMBIOS 3.1.0/Table 21). Set the
136 .name = "smbios",
151 .help = "binary file containing an SMBIOS element",
160 .help = "SMBIOS element type",
189 .help = "SMBIOS element type",
226 .help = "SMBIOS element type",
259 .help = "SMBIOS element type",
[all …]
H A Dsmbios_type_38.c2 * IPMI SMBIOS firmware handling
12 #include "hw/firmware/smbios.h"
16 /* SMBIOS type 38 - IPMI */
72 " SMBIOS, ignoring this entry.", info->register_spacing); in smbios_build_one_type_38()
H A Dsmbios-stub.c2 * SMBIOS stubs for platforms that don't support SMBIOS.
24 #include "hw/firmware/smbios.h"
/openbmc/qemu/tests/functional/acpi-bits/bits-config/
H A Dbits-cfg.txt10 # smbios: Dump all SMBIOS structures.
18 batch = test acpi smbios
/openbmc/linux/drivers/firmware/
H A Ddmi_scan.c23 * of and an antecedent to, SMBIOS, which stands for System
96 * (SMBIOS < 3.0 only) OR we reach an end-of-table marker (SMBIOS in dmi_decode_table()
130 * 7.45 End-of-Table (Type 127) [SMBIOS reference spec v3.0.0] in dmi_decode_table()
255 * As of version 2.6 of the SMBIOS specification, the first 3 fields of in dmi_save_uuid()
417 /* Need SMBIOS 2.6+ structure */ in dmi_save_system_slot()
442 pr_warn(FW_BUG "Too many DIMM entries in SMBIOS table\n"); in save_mem_devices()
571 * Check for DMI/SMBIOS headers in the system firmware image. Any
572 * SMBIOS header must start 16 bytes before the DMI header, so take a
573 * 32 byte buffer and check for DMI at offset 16 and SMBIOS at offset
574 * 0. If the DMI header is present, set dmi_ver accordingly (SMBIOS
[all …]
/openbmc/smbios-mdr/src/smbios-ipmi-blobs/
H A Dhandler.cpp30 constexpr const char* mdrV2Service = "xyz.openbmc_project.Smbios.MDR_V2";
31 constexpr const char* mdrV2Interface = "xyz.openbmc_project.Smbios.MDR_V2";
38 bus.new_method_call(mdrV2Service, phosphor::smbios::defaultObjectPath, in syncSmbiosData()
53 phosphor::smbios::defaultObjectPath)); in syncSmbiosData()
119 /* SMBIOS blob handler does not support read. */ in read()
209 "create folder failed for writing smbios file"); in commit()
220 "Write data from flash error - Open SMBIOS table file failure"); in commit()

12345678