Name Date Size #Lines LOC

..--

arch/H25-Apr-2025-613325

include/lib/H25-Apr-2025-564159

test/H25-Apr-2025-9516

READMEH A D25-Apr-2025608 2215

ns_mem.cH A D25-Apr-20255.4 KiB16183

rules.mkH A D25-Apr-20251.7 KiB5221

shared_mem.cH A D25-Apr-202510.4 KiB303181

sm.cH A D25-Apr-202518.9 KiB604468

smcall.cH A D25-Apr-20257.5 KiB225145

trusty_sched_share.cH A D25-Apr-20259.5 KiB273181

README

1libsm
2=====
3
4A library to support secure monitor mode implemented by ARM v7 Security
5extensions.
6
7API:
8
9sm_sched_secure - Switch to Secure OS
10sm_sched_nonsecure - Switch to Nonsecure OS
11
12sm_register_entity - Register fastcall/stdcall handlers for an entity
13(See ARM document DEN 0028A)
14
15sm_get_boot_args - get a pointer/reference to boot parameter block
16sm_put_boot_args - release a reference to boot parameter block
17(See bootloader spec)
18
19Note that this library provides an implementation for the weak symbol
20"platform_reset". It also assumes that r0 contains the size of memory reserved
21for the secure OS.
22