Tom Joseph | 7f839f9 | 2020-09-21 10:20:44 +0530 | [diff] [blame] | 1 | #pragma once
|
| 2 |
|
| 3 | #include "pldmd/dbus_impl_requester.hpp"
|
| 4 |
|
| 5 | #include <vector>
|
| 6 |
|
| 7 | namespace pldm
|
| 8 | {
|
| 9 | namespace responder
|
| 10 | {
|
| 11 | namespace platform
|
| 12 | {
|
| 13 |
|
| 14 | /** @brief To send BIOS attribute update event
|
| 15 | *
|
| 16 | * When the attribute value changes for any BIOS attribute, then
|
| 17 | * PlatformEventMessage command with OEM event type
|
| 18 | * PLDM_EVENT_TYPE_OEM_EVENT_BIOS_ATTRIBUTE_UPDATE is send to host with the
|
| 19 | * list of BIOS attribute handles.
|
| 20 | *
|
| 21 | * @param[in] fd - socket descriptor to communicate to host
|
| 22 | * @param[in] eid - MCTP EID of host firmware
|
| 23 | * @param[in] requester - pointer to Requester object
|
| 24 | * @param[in] handles - List of BIOS attribute handles
|
| 25 | */
|
| 26 | int sendBiosAttributeUpdateEvent(int fd, uint8_t eid,
|
| 27 | dbus_api::Requester* requester,
|
| 28 | const std::vector<uint16_t>& handles);
|
| 29 |
|
| 30 | } // namespace platform
|
| 31 |
|
| 32 | } // namespace responder
|
| 33 |
|
| 34 | } // namespace pldm
|