diff options
-rw-r--r-- | mboxd_msg.c | 4 | ||||
-rw-r--r-- | windows.c | 6 | ||||
-rw-r--r-- | windows.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/mboxd_msg.c b/mboxd_msg.c index ea07a0d..cc23fe3 100644 --- a/mboxd_msg.c +++ b/mboxd_msg.c @@ -327,7 +327,7 @@ int mbox_handle_read_window(struct mbox_context *context, return rc; } } - close_current_window(context, NO_BMC_EVENT, FLAGS_NONE); + windows_close_current(context, NO_BMC_EVENT, FLAGS_NONE); } /* Offset the host has requested */ @@ -662,7 +662,7 @@ int mbox_handle_close_window(struct mbox_context *context, } /* Host asked for it -> Don't set the BMC Event */ - close_current_window(context, NO_BMC_EVENT, flags); + windows_close_current(context, NO_BMC_EVENT, flags); } return 0; @@ -377,7 +377,7 @@ int window_set_bytemap(struct mbox_context *context, struct window_context *cur, } /* - * close_current_window() - Close the current (active) window + * windows_close_current() - Close the current (active) window * @context: The mbox context pointer * @set_bmc_event: Whether to set the bmc event bit * @flags: Flags as defined for a close command in the protocol @@ -388,7 +388,7 @@ int window_set_bytemap(struct mbox_context *context, struct window_context *cur, * without the host requesting it the bmc event bit must be set to indicate this * to the host (set_bmc_event == true). */ -void close_current_window(struct mbox_context *context, bool set_bmc_event, +void windows_close_current(struct mbox_context *context, bool set_bmc_event, uint8_t flags) { MSG_DBG("Close current window, flags: 0x%.2x\n", flags); @@ -434,7 +434,7 @@ void reset_all_windows(struct mbox_context *context, bool set_bmc_event) MSG_DBG("Resetting all windows\n"); /* We might have an open window which needs closing */ if (context->current) { - close_current_window(context, set_bmc_event, FLAGS_NONE); + windows_close_current(context, set_bmc_event, FLAGS_NONE); } for (i = 0; i < context->windows.num; i++) { reset_window(context, &context->windows.window[i]); @@ -21,7 +21,7 @@ int window_flush(struct mbox_context *context, uint32_t offset, void windows_alloc_dirty_bytemap(struct mbox_context *context); int window_set_bytemap(struct mbox_context *context, struct window_context *cur, uint32_t offset, uint32_t size, uint8_t val); -void close_current_window(struct mbox_context *context, bool set_bmc_event, +void windows_close_current(struct mbox_context *context, bool set_bmc_event, uint8_t flags); void reset_window(struct mbox_context *context, struct window_context *window); void reset_all_windows(struct mbox_context *context, bool set_bmc_event); |