/* Change Logs: Date Author Notes  tangzz98 the first version  */
void mprotect_example_exception_hook(rt_mem_exception_info_t *info)
/* Change Logs: Date Author Notes  tangzz98 the first version  */
void mprotect_example_exception_hook(rt_mem_exception_info_t *info)
{
    rt_kprintf("Memory manage exception\n");
    rt_kprintf("Faulting thread: %s\n", info->thread->parent.name);
    rt_kprintf("Faulting address: %p\n", info->addr);
    rt_kprintf("Faulting region: %p - %p", info->region.start, (void *)((rt_size_t)info->region.start + info->region.size));
}