aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2015-07-01 11:50:18 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-03 17:09:43 +1000
commitf0e3f5336baf3e51705c6faa9769597fb46f2657 (patch)
treedab39b91e9c8b0a7a32d3c1c18ec310f7d547ea6 /include
parent83637485080bc38a0792b1d9b7b3c8a191c070e4 (diff)
downloadskiboot-f0e3f5336baf3e51705c6faa9769597fb46f2657.zip
skiboot-f0e3f5336baf3e51705c6faa9769597fb46f2657.tar.gz
skiboot-f0e3f5336baf3e51705c6faa9769597fb46f2657.tar.bz2
core/ipmi: Provide the dequeue message interface
Add a wrapper for the client to be able to invoke the backend dequeue message function. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Cc: Alistair Popple <alistair@popple.id.au> Acked-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipmi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index 77e4b9a..f25b747 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -207,6 +207,9 @@ int ipmi_queue_msg_head(struct ipmi_msg *msg);
* messages callback has been called. */
void ipmi_queue_msg_sync(struct ipmi_msg *msg);
+/* Removes the message from the list, queued previously */
+int ipmi_dequeue_msg(struct ipmi_msg *msg);
+
/* Process a completed message */
void ipmi_cmd_done(uint8_t cmd, uint8_t netfn, uint8_t cc, struct ipmi_msg *msg);