commit | 7afbbec42f4d30be77a818552aa2201e54c8b798 | [log] [tgz] |
---|---|---|
author | Juan Yescas <jyescas@google.com> | Tue Aug 23 07:09:21 2022 +0000 |
committer | Juan Yescas <jyescas@google.com> | Tue Sep 27 15:11:52 2022 +0000 |
tree | 5fef6c3f08965b8d25d8338ad8d560e96e3e87c2 | |
parent | 71e11ae9ba8e1f5716b7d1a5c77c1fea9a9442b7 [diff] |
Add new field in MemoryInfo to get advertised memory size. This API will get the advertised memory size from the bootloader parameter passed to the kernel. The advertised memory size might be different from the MemTotal value in /proc/meminfo. This could be due the original design manufacturer (ODM) reserved part of the memory for the Trusted Execution Environment. Test: Run test caes Bug: 231718727 Change-Id: I06494cb9013048d73a83f2180a9241c2259d46eb