aboutsummaryrefslogtreecommitdiff
path: root/core/pldm/pldm.h
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.ibm.com>2023-08-29 11:23:56 +0200
committerReza Arbab <arbab@linux.ibm.com>2023-09-12 14:22:11 -0500
commit3172f55e6961bbd3bc3dbfb045fb8cac4fc34f3c (patch)
tree9666196194d55ee5ff5662aaf4ccb5079ea7c590 /core/pldm/pldm.h
parent7691c4ae8592800f2cd5b0d12d5d3461ce0b4940 (diff)
downloadskiboot-3172f55e6961bbd3bc3dbfb045fb8cac4fc34f3c.zip
skiboot-3172f55e6961bbd3bc3dbfb045fb8cac4fc34f3c.tar.gz
skiboot-3172f55e6961bbd3bc3dbfb045fb8cac4fc34f3c.tar.bz2
core/pldm: Decode the SetEventReceiver request
The SetEventReceiver command is used to set the address of the Event Receiver into a terminus that generates event messages. It is also used to globally enable or disable whether event messages are generated from the terminus. For the time being, only the following global event message is supported: PLDM_EVENT_MESSAGE_GLOBAL_ENABLE_ASYNC_KEEP_ALIVE. The Event Receiver acknowledges receiving the PLDM Event Message in the response to this command. Signed-off-by: Christophe Lombard <clombard@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'core/pldm/pldm.h')
-rw-r--r--core/pldm/pldm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pldm/pldm.h b/core/pldm/pldm.h
index 3127ee5..b0c7560 100644
--- a/core/pldm/pldm.h
+++ b/core/pldm/pldm.h
@@ -15,6 +15,9 @@
/* For all of the encode functions just pass in a default ID (0x00) */
#define DEFAULT_INSTANCE_ID 0
+extern bool watchdog_armed;
+extern int watchdog_period_sec;
+
struct pldm_tx_data {
/* Contains an message header and payload of an MCTP packet.
* Size of data[]