commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/viengoos t-link.c t-environment.h objec...


From: Neal H. Walfield
Subject: hurd-l4/viengoos t-link.c t-environment.h objec...
Date: Mon, 10 Dec 2007 22:38:12 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 07/12/10 22:38:12

Modified files:
        viengoos       : t-link.c t-environment.h object.h object.c 
                         ager.c activity.c Makefile.am ChangeLog 

Log message:
        2007-12-10  Neal H. Walfield  <address@hidden>
        
                * object.h (lru_lock): New declaration.
                (LINK_TEMPLATE): Assert that LRU_LOCK is held.
                (object_desc_disown_simple): Likewise.
                (object_disown_simple): Likewise.
                (object_desc_disown): Likewise.
                (object_disown): Likewise.
                (object_desc_claim): Likewise.
                (object_claim): Likewise.
                * object.c (lru_lock): Define.
                (memory_object_alloc): Lock LRU_LOCK when manipulating
                the LRU lists.
                (memory_object_destroy): Likewise.
                (object_find_soft): Likewise.
                (folio_free): Likewise.
                (folio_object_alloc): Likewise.
                * activity.c (activity_destroy): Lock LRU_LOCK when manipulating
                the LRU lists.
                (activity_destroy): Likewise.
                (activity_dump): Likewise.
                (activity_consistency_check_): Assert that LRU_LOCK is held.
                * ager.c (ager_loop): Lock LRU_LOCK when manipulating the LRU
                lists.
                * Makefile.am (t_link_CPPFLAGS): Include
                $(srcdir)/t-environment.h.
                (t_link_SOURCES): Add output.h, output.c and output-stdio.c.
                * t-environment.h: Move includes down.
                (environment_kip) [! _L4_TEST_MAIN]: Don't define, only declare.
                Remove static qualifier.
                (environment_api_version) [! _L4_TEST_MAIN]: Likewise.
                (environment_api_flags) [! _L4_TEST_MAIN]: Likewise.
                (environment_kernel_id) [! _L4_TEST_MAIN]: Likewise.
                (environment_utcb) [! _L4_TEST_MAIN]: Likewise.
                (environment_utcb_address) [! _L4_TEST_MAIN]: Likewise.
                (environment_init): Initialize
                ENVIRONMENT_UTCB_ADDRESS[_L4_UTCB_MY_GLOBAL_ID] to a non-NULL
                value.
                * t-link.c: Include "t-environment.h".
                (_L4_TEST_MAIN): Define.
                (program_name): Don't define.
                (lru_lock): Define.
                (main): Rename from this...
                (test): ... to this.  Lock LRU_LOCK on entry and unlock on exit.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/t-link.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/t-environment.h?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ager.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/activity.c?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/Makefile.am?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.22&r2=1.23




reply via email to

[Prev in Thread] Current Thread [Next in Thread]