Update git submodules
* Update external/lk from branch 'master'
to 014bf6d1b6cf95b1240444c40cf19b38bbc4ba1f
- Support partial writes to IO handles.
printf can turn a single print statement into multiple, fragmented
writes to the IO handle. Add a "commit" method to signal that the
multiple partial writes have completed.
Bug: 122574827
Change-Id: If25f39daff69230da0dc2730d0410a2a18c91ddf
* Update trusty/kernel from branch 'master'
to 7603d71c7a5eb0201b3d7e8cbe58985cfe43f31a
- [lib][memlog] Do not expose memlog data until the writer is done.
Due to how LK's printf works, a single print statement may result in
multiple write calls to the memlog. A second thread reading the memlog
can observe each write as it occurs. This can result in corrupted output
if the observer treats each write as a separate logging event.
To work around this issue, a seperate "commit" function was added to
signal that a write is complete and that memlog should expose the
recently written data.
Bug: 122574827
Change-Id: I5db21f774bae4a6445793460ee934551a6eab2e6
2 files changed