mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
A simulated rpmbfile requires to enable 4MB access by writing the last byte. Otherwise, the read operation should be failed if no write was operated on the address greater than the read address. Writing the last byte during file creating ensures the whole 4MB address is readable. Signed-off-by: Huang Yang <yang.huang@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com>