diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2019-03-18 13:02:01 +1030 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2019-03-19 16:41:12 +1030 |
| commit | 035ad76b8b45a01cc7fcc184e7e72eed69c0ece5 (patch) | |
| tree | c95082574c65841246e901d4eb910e3e598e15c6 /vpnor/test/write_toc.cpp | |
| parent | f4bc335b4fc899509c92c230f746fe90a5aa43d2 (diff) | |
| download | phosphor-mboxbridge-035ad76b8b45a01cc7fcc184e7e72eed69c0ece5.tar.gz phosphor-mboxbridge-035ad76b8b45a01cc7fcc184e7e72eed69c0ece5.zip | |
vpnor: Consolidate backend and mboxd_pnor_partition_table sources
Change-Id: Ibf66c3a86c2a50e2304fb968f8c912ede84cf719
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'vpnor/test/write_toc.cpp')
| -rw-r--r-- | vpnor/test/write_toc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vpnor/test/write_toc.cpp b/vpnor/test/write_toc.cpp index 8b690a1..d8b63ce 100644 --- a/vpnor/test/write_toc.cpp +++ b/vpnor/test/write_toc.cpp @@ -2,20 +2,20 @@ // Copyright (C) 2018 IBM Corp. #include "config.h" -#include "vpnor/pnor_partition_table.hpp" - -#include <sys/mman.h> - -#include <cassert> -#include <cstring> - extern "C" { +#include "backend.h" #include "test/mbox.h" #include "test/system.h" } +#include "vpnor/pnor_partition_table.hpp" #include "vpnor/test/tmpd.hpp" +#include <sys/mman.h> + +#include <cassert> +#include <cstring> + static constexpr auto BLOCK_SIZE = 4 * 1024; static constexpr auto PNOR_SIZE = 2 * BLOCK_SIZE; static constexpr auto MEM_SIZE = BLOCK_SIZE; |

