nova: request stack pointer on page fault

The SP value is part of the Page_fault_info object but was not requested
from the kernel on portal creation.
This commit is contained in:
Christian Helmuth 2020-01-02 15:30:28 +01:00
parent 9a35743df6
commit 18f90ca1e3
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ Pager_object::Pager_object(Cpu_session_capability cpu_session_cap,
addr_t ec_sel = pager_threads[genode_cpu_id]->native_thread().ec_sel;
/* create portal for page-fault handler - 14 */
_exceptions.register_handler<14>(*this, Mtd::QUAL | Mtd::EIP,
_exceptions.register_handler<14>(*this, Mtd::QUAL | Mtd::ESP | Mtd::EIP,
_page_fault_handler);
/* create portal for startup handler - 26 */