Andrew Jeffery | 943aba0 | 2018-03-26 15:37:33 +1030 | [diff] [blame^] | 1 | #include "config.h" |
| 2 | |
| 3 | extern "C" { |
| 4 | #include "mbox.h" |
| 5 | #include "mboxd_msg.h" |
| 6 | }; |
| 7 | |
| 8 | #include "vpnor/mboxd_msg.hpp" |
| 9 | |
| 10 | // clang-format off |
| 11 | const 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 |