[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4 viengoos/server.c viengoos/ChangeLog li...
From: |
Neal H. Walfield |
Subject: |
hurd-l4 viengoos/server.c viengoos/ChangeLog li... |
Date: |
Wed, 05 Dec 2007 18:54:40 +0000 |
CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 07/12/05 18:54:40
Modified files:
viengoos : server.c ChangeLog
libhurd-mm : ia32-exception-entry.S exceptions.c ChangeLog
hurd : thread.h exceptions.h ChangeLog
Log message:
hurd/
2007-12-05 Neal H. Walfield <address@hidden>
* thread.h (struct exception_page): Add fields exception_stack
and
exception_stack_bottom.
(hurd_exception_handler_t): Don't define.
* exceptions.h (fault): Add argument, sp.
(exception_handler): Remove declaration.
(exception_handler_activated): New declaration.
(exception_handler_normal): Likewise.
libhurd-mm/
2007-12-05 Neal H. Walfield <address@hidden>
* exceptions.c: Include <hurd/slab.h> and "as.h".
(exception_frame_slab): New local variable.
(exception_frame_slab_alloc): New function.
(exception_frame_slab_dealloc): Likewise.
(exception_frame_alloc): Likewise.
(exception_handler): Rename from this...
(exception_handler_activated): ... to this. Update callers.
Only
handle the fault if the fault corresponds to the page the stack
pointer references at the time of the fault or the next stack
page.
(exception_handler_normal): New function.
(exception_handler_init): Initialize exception_frame_slab.
* ia32-exception-entry.S (EXCEPTION_STACK): New macro.
(SAVED_EDX): Likewise.
(EF_SAVED_EAX): Likewise.
(EF_SAVED_ECX): Likewise.
(EF_SAVED_EDX): Likewise.
(EF_SAVED_FLAGS): Likewise.
(EF_SAVED_IP): Likewise.
(EF_STACK_START): Likewise.
(EF_NEXT): Likewise.
(exception_handler_entry): After calling
exception_handler_activated, check if the return result is
non-zero. If so, call exception_handler_normal.
viengoos/
2007-12-05 Neal H. Walfield <address@hidden>
* server.c (server_loop): When marshalling the fault, return the
current stack pointer, consistent with the updated interface.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/server.c?cvsroot=hurd&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ia32-exception-entry.S?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/exceptions.c?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/thread.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/exceptions.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.30&r2=1.31
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4 viengoos/server.c viengoos/ChangeLog li...,
Neal H. Walfield <=