diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-03-22 16:49:40 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-04-04 07:56:22 +0000 |
commit | ca1dfc9e902eddd8031baaaeb9dd6b3f4be4b1a2 (patch) | |
tree | 92277a999ff34837adfdfb78f2dc4abc39e3fc6b /test/mark_write_erased_v2.c | |
parent | cc0bd3c4a25b2359d77b36f9b60d3e5571282bc6 (diff) | |
download | phosphor-mboxd-ca1dfc9e902eddd8031baaaeb9dd6b3f4be4b1a2.tar.gz phosphor-mboxd-ca1dfc9e902eddd8031baaaeb9dd6b3f4be4b1a2.zip |
test: mbox: Add mbox_rspcpy()
mbox_rspcpy() copies the mboxd response into a struct mbox_msg for use
by the caller. This is useful in test cases that want to read contiguous
chunks of the flash. mbox_rspcpy() allows them to extract the current
window's offset and length to dynamically construct the
CREATE_READ_WINDOW request for the subsequent blocks.
Change-Id: I4d35889a0785b2d9ab737eba6755892caed53270
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test/mark_write_erased_v2.c')
0 files changed, 0 insertions, 0 deletions