Mailing List Archive

[PATCH] Mini-OS return from exception fix
This patch fixes ret_from_exception routine. Stack consistency is now
preserved.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>

Keir could you apply? Thanks.

Gregor

> I've modified minios to do dynamic page fault handling rather than setup
> all the page tables ahead of time (just to improve my understanding) but
> it's crashing on return and looks like the stack may be wrong. Before I
> dive in the assembler code, is the code in x86_32.S at page_fault and
> ret_from_exception expected to work if the fault is fixed up?
>