Penglai-Enclave-sPMP
Penglai-Enclave-sPMP copied to clipboard
The need to dynamically detect PMP numbers
Currently Penglai's SM (statically) assumes 16 PMPs. However, there are some platforms support less (e.g., 8 PMPs) or more (e.g., in the future with ePMP we will have upto 64).
We should dynamically detect PMP numbers to satisfy the diverse platforms.