lib: sm: Create trusty-kernel support for shared-memory based info exchange

Trusty-Kernel and Android Trusty-Driver need a shared-memory
based data-structure for exchanging information in order to
influence each other for improved performance. The trusty-kernel
needs to support the new API to register/unregister the
shared-memory block established by the trusty-driver.

Bug: 251903627
Test: shpriotest.c
Change-Id: I868a6539cf50bc45e6f4b8f32323c0153518fac0
6 files changed