summaryrefslogtreecommitdiffstats
path: root/mboxd_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mboxd_msg.h')
-rw-r--r--mboxd_msg.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/mboxd_msg.h b/mboxd_msg.h
index aebf3bd..d911b7b 100644
--- a/mboxd_msg.h
+++ b/mboxd_msg.h
@@ -21,4 +21,26 @@ int dispatch_mbox(struct mbox_context *context);
int init_mbox_dev(struct mbox_context *context);
void free_mbox_dev(struct mbox_context *context);
+/* Command handlers */
+int mbox_handle_reset(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_mbox_info(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_flash_info(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_read_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_close_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_write_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_dirty_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_flush_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+int mbox_handle_ack(struct mbox_context *context, union mbox_regs *req,
+ struct mbox_msg *resp);
+int mbox_handle_erase_window(struct mbox_context *context,
+ union mbox_regs *req, struct mbox_msg *resp);
+
#endif /* MBOXD_MSG_H */
OpenPOWER on IntegriCloud