CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 07/11/19 22:59:06
Modified files:
viengoos : thread.h thread.c server.c rm.h cap-lookup.c
ChangeLog
libhurd-mm : pager.c mmap.c mm-init.c headers.m4 anonymous.h
anonymous.c Makefile.am ChangeLog
hurd : headers.m4 Makefile.am ChangeLog
Added files:
libhurd-mm : pager.h exceptions.h exceptions.c
hurd : exceptions.h
Log message:
hurd/
2007-11-19 Neal H. Walfield <[EMAIL PROTECTED]>
* Makefile.am (includehurd_HEADERS): Add exceptions.h.
* headers.m4: Link $(BUILDIR)/include/hurd/exceptions.h to
exceptions.h.
* exceptions.h: New file.
viengoos/
2007-11-19 Neal H. Walfield <[EMAIL PROTECTED]>
* thread.h (struct thread): Add fields have_exception and
exception.
(UTCB_AREA_SIZE): Provide space for two UTCBs.
* thread.c: Include <hurd/exceptions.h>.
(thread_create_in): For each thread that we allocate, allocate
two
consecutive l4 thread ids.
(thread_commission): Initialize the main thread and the
exception
thread.
(thread_decommission): Destroy both the main thread and the
exception thread.
* rm.h: Add RM_exception_collect.
(rm_method_id_string): Handle RM_exception_collect.
(exception_collect): New RPC method.
* server.c: Include <hurd/exceptions.h>.
(server_loop): If FROM is the exception thread, look up the
thread
object using the main thread id. Propagate any fault to the
exception thread. If not immediately successful, save the
message
in THREAD->EXCEPTION and set THREAD->HAVE_EXCEPTION. Implement
the exception_collect method.
(DEBUG): Also print the method number.
libhurd-mm/
2007-11-19 Neal H. Walfield <[EMAIL PROTECTED]>
* Makefile.am (libhurd_mm_a_SOURCES): Add exceptions.h,
exceptions.c, pager.h, pager.c, anonymous.h and anonymous.c.
* headers.m4: Link $(BUILDDIR)/include/hurd/pager.h to pager.h.
Link $(BUILDDIR)/include/hurd/anonymous.h to anonymous.h.
* mm-init.c: Include "exceptions.h".
(mm_init): Call exception_handler_init.
* pager.h: Completely rewrite.
* pager.c: Likewise.
* anonymous.h: Likewise.
* anonymous.c: Likewise.
* exceptions.h: New file.
* exceptions.c: Likewise.
* mmap.c: Include <hurd/anonymous.h>.
(mmap): Rewrite to use an anonymous pager.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.h?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/server.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/rm.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/cap-lookup.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mmap.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mm-init.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/headers.m4?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.h?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/Makefile.am?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.h?cvsroot=hurd&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/exceptions.h?cvsroot=hurd&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/exceptions.c?cvsroot=hurd&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/headers.m4?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/Makefile.am?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/exceptions.h?cvsroot=hurd&rev=1.1
_______________________________________________
Commit-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-hurd