Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 8 years ago

Closed 7 years ago

#329 closed enhancement (invalid)

amd64 needs to be able to detect page misses caused by executing incorrect pseudocode

Reported by: Jakub Jermář Owned by: Jakub Jermář
Priority: major Milestone: 0.5.0
Component: helenos/kernel/amd64 Version:
Keywords: Cc:
Blocker for: Depends on:
See also:


The amd64 kernel needs to be able to handle page faults caused by processing IRQ pseudocode. Note that if the pseudocode is correct, it is not expected to cause a page fault on amd64 so the only case we need to handle is when the pseudocode is not correct. Thus getting to a page fault handler on amd64 while processing IRQ pseudocode is a reason to panic the system or, if running in the context of the pseudocode owner task, kill the current task.

Also note that a failure to detect this situation will result in hitting an assertion and panicking anyway as soon as as_page_fault() attempts to lock a mutex.

Change History (3)

comment:1 Changed 7 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Not applicable in current kernel which maps all the physical addresses used by the pseudocode.

comment:2 Changed 7 years ago by Jakub Jermář

Resolution: fixed
Status: closedreopened

comment:3 Changed 7 years ago by Jakub Jermář

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.