forked from Mirrors/opensbi

The original implementation mapped saddr individually for each entry. The updated code now maps saddr for all entries in a single operation. This change reduces the number of PMP (Physical Memory Protection) operations, improving efficiency and performance. Tested-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Signed-off-by: Xiang W <wxjstz@126.com> Link: https://lore.kernel.org/r/20250514052422.575551-1-wxjstz@126.com Signed-off-by: Anup Patel <anup@brainfault.org>