blob: 130c098b41e01ba366bf9a1d822aab77b2727f99 [file] [log] [blame]
Andrew Jeffery943aba02018-03-26 15:37:33 +10301#include "config.h"
2
3extern "C" {
4#include "mbox.h"
5#include "mboxd_msg.h"
6};
7
8#include "vpnor/mboxd_msg.hpp"
9
10// clang-format off
11const mboxd_mbox_handler vpnor_mbox_handlers[NUM_MBOX_CMDS] =
12{
13 mbox_handle_reset,
14 mbox_handle_mbox_info,
15 mbox_handle_flash_info,
16 mbox_handle_read_window,
17 mbox_handle_close_window,
18 mbox_handle_write_window,
19 mbox_handle_dirty_window,
20 mbox_handle_flush_window,
21 mbox_handle_ack,
22 mbox_handle_erase_window
23};
24// clang-format on