commit | bd6059c4c8217a4645fccc52b30a1a57b00bed0c | [log] [tgz] |
---|---|---|
author | Yuyang Huang <[email protected]> | Sat Jan 18 20:11:07 2025 +0900 |
committer | Maciej Żenczykowski <[email protected]> | Mon Jan 20 16:09:11 2025 -0800 |
tree | f3745e8cca98b690074bf548d92a1b49db913b48 | |
parent | 83e73b763ee2e3cb3fb944a80ee3c42ef9fbd67b [diff] |
Enhance addDataCopy() to handle large content arrays Updated the addDataCopy(byte[] content) helper method to handle large content arrays by splitting them into smaller chunks. This is necessary because the APFv6 data copy instruction has a maximum size limit of 255 bytes. The method now uses multiple data copy instructions to ensure that large content arrays are copied completely and correctly. Test: TH Change-Id: Iefc2fc1b268651f0dd122e8a0a0639483edf9d08