sifive / freedom-metal

Bare Metal Compatibility Library for the Freedom Platform
Other
152 stars 47 forks source link

Fix condition in `pmp_set_region` #436

Open philippgie opened 7 months ago

philippgie commented 7 months ago

Region indexing starts at 0. Hence, the indicated region should be smaller than _pmp_regions().