Commit 0ad86606 authored by Himanshu Chauhan's avatar Himanshu Chauhan Committed by Anup Patel
Browse files

lib: sbi: Map/Unmap debug console shared memory buffers



With Smepmp enabled, it is necessary for shared memory from
S/U mode to be mapped/unmapped before and after read/write
of the memory region. This patch maps the debug console
shared memory before accessing it.

Signed-off-by: default avatarHimanshu Chauhan <hchauhan@ventanamicro.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 6e44ef68
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment