summaryrefslogtreecommitdiffstats
path: root/mboxd_dbus.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-22 16:49:40 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-04-04 07:56:22 +0000
commitca1dfc9e902eddd8031baaaeb9dd6b3f4be4b1a2 (patch)
tree92277a999ff34837adfdfb78f2dc4abc39e3fc6b /mboxd_dbus.c
parentcc0bd3c4a25b2359d77b36f9b60d3e5571282bc6 (diff)
downloadphosphor-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 'mboxd_dbus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud