littlekernel / lk

LK embedded kernel
MIT License
3.11k stars 613 forks source link

[lib][debugcommands] sanity check address is mapped before display/mo… #358

Closed vamshi51 closed 1 year ago

vamshi51 commented 1 year ago

…dify

Accessing un-mapped address/address-range results in data abort. Ensure the address and all the pages in the requested range are mapped. Mapping is checked at page size, also adjusts the stop address to the nearest valid address mapped.