mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-19 00:27:21 +00:00
nova: avoid fault during core thread fault dump
This commit is contained in:
parent
de0a771fae
commit
8c5f350e0e
base-nova/src/core
@ -42,7 +42,8 @@ namespace Genode {
|
||||
printf("%s (%s pf_addr=%p pf_ip=%p from %02lx %s)\n", msg,
|
||||
pf_type == Rm_session::WRITE_FAULT ? "WRITE" : "READ",
|
||||
(void *)pf_addr, (void *)pf_ip,
|
||||
faulter_badge, reinterpret_cast<char *>(faulter_badge));
|
||||
faulter_badge,
|
||||
faulter_badge ? reinterpret_cast<char *>(faulter_badge) : 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -107,7 +107,7 @@ static void page_fault_handler()
|
||||
addr_t pf_type = utcb->qual[0];
|
||||
|
||||
print_page_fault("\nPAGE-FAULT IN CORE", pf_addr, pf_ip,
|
||||
(Genode::Rm_session::Fault_type)pf_type, ~0UL);
|
||||
(Genode::Rm_session::Fault_type)pf_type, 0);
|
||||
|
||||
/* dump stack trace */
|
||||
struct Core_img
|
||||
|
Loading…
x
Reference in New Issue
Block a user