commit | 2fb3a0c51a5ac8cd4b5c3731c3212158699e8ce7 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Tue Jan 10 14:31:43 2017 -0800 |
committer | Hridya Valsaraju <hridya@google.com> | Wed Jan 11 22:55:25 2017 +0000 |
tree | 0b7fdee1d376537cc12b4fab58e1c14dab6579cc | |
parent | 7fd43e32c8289b8b665c7e7d16c85a0f91640fac [diff] |
Align all offsets to word boundary. Since the read pointer, write pointer, data buffer and EventFlag word occupy contiguous memory locations as per the default MessageQueue/MQDescriptor constructors, the size of data buffer needs to be word-aligned so that the EventFlag word is certain to occupy a word-aligned address. Bug: 34194487 Test: FMQ unit tests Change-Id: I3ce2a229839ab6bf625b1efdc5fbb7f6daf78c40