[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-commit
Subject:    hurd-l4 viengoos/viengoos.c viengoos/thread.h v...
From:       "Neal H. Walfield" <neal () walfield ! org>
Date:       2007-12-25 20:06:07
Message-ID: E1J7G2R-0007fK-R7 () cvs ! savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/hurd
Module name:	hurd-l4
Changes by:	Neal H. Walfield <neal>	07/12/25 20:06:07

Modified files:
	viengoos       : viengoos.c thread.h thread.c t-as.c 
	                 t-activity.c server.c object.h object.c as.c 
	                 ChangeLog 
	ruth           : ruth.c ChangeLog 
	libhurd-mm     : storage.c as.h as.c ChangeLog 
	hurd           : thread.h folio.h cap.h ChangeLog 

Log message:
	hurd/
	
	2007-12-25  Neal H. Walfield  <neal@gnu.org>
	
		* cap.h: Include <stdint.h>.
		(OBJECT_PRIORITY_BITS): Define.
		(OBJECT_PRIORITY_MAX): Likewise.
		(OBJECT_PRIORITY_LRU): Likewise.
		(OBJECT_PRIORITY_MIN): Likewise.
		(struct object_policy): New structure.
		(OBJECT_POLICY_INIT): Define.
		(OBJECT_POLICY): Likewise.
		(OBJECT_POLICY_VOID): Likewise.
		(OBJECT_POLICY_DEFAULT): Likewise.
		(struct cap_properties): New structure.
		(CAP_PROPERTIES_INIT): Define.
		(CAP_PROPERTIES): Likewise.
		(CAP_PROPERTIES_VOID): Likewise.
		(CAP_PROPERTIES_DEFAULT): Likewise.
		(struct cap): Add fields discardable and priority.
		[RM_INTERN]: Reduce OID to 54 bits.
		[! RM_INTERN]: Allow the shadow field an entire word.
		(CAP_PROPERTIES_GET): Define.
		(CAP_PROPERTIES_SET): Likewise.
		(CAP_COPY_DISCARDABLE_SET): Likewise.
		(CAP_COPY_PRIORITY_SET): Likewise.
		(cap_copy): Remove the stuct cap_addr_trans parameter and replace
		with a struct cap_properties.  Update callers.
		(cap_read): Likewise.
		(object_slot_copy_out): Likewise.
		(object_slot_copy_in): Likewise.
		(object_slot_read): Likewise.
		(cap_copy_x): Likewise.  Save the object policies in the shadow
		capability.
		(cap_get_shadow): Don't munge the address.
		(cap_set_shadow): Likewise.
		* thread.h: Include <hurd/cap.h>.
		(struct hurd_thread_exregs_in): Remove field aspace_addr_trans.
		Add field aspace_cap_properties.  Rename field
		aspace_addr_trans_flags to aspace_cap_properties_flags.
		* folio.h (struct folio): Remove field discardable.  Add field
		policy.
		(folio_object_alloc): Take an additional argument, a struct
		object_policy.  Update users.
	
		* cap.h (cap_is_a): Remove dead code.
		(cap_is_a_page): Remove dead code.
	
	libhurd-mm/
	
	2007-12-25  Neal H. Walfield  <neal@gnu.org>
	
		* as.h: Change VISIT's signature: pass a struct cap_properties
		instead of a struct cap_addr_trans.  Update callers.
		* as.c (as_walk): Change VISIT's signature: pass a struct
		cap_properties instead of a struct cap_addr_trans.  Call VISIT
		appropriately.
		(as_alloc_slow): Update rm_cap_read use to reflect API changes.
		(as_init): Update rm_cap_read use to reflect API changes.  Use
		CAP_PROPERTIES_SET to set shadow capability properties.
		* storage.c (shadow_setup): Update rm_folio_object_alloc use to
		reflect API changes.  Also save the object policy in the shadow
		capability.
		(storage_alloc_): Likewise.
		(storage_free_): Likewise.
	
	viengoos/
	
	2007-12-25  Neal H. Walfield  <neal@gnu.org>
	
		* object.h (struct object_desc): Add field policy.
		(object_desc_to_cap): Also return the discardable bit and the
		priority.
		(folio_object_alloc): Take additional parameter, the object's
		policy.  Update callers.
		* object.c (folio_object_alloc): Take additional parameter, the
		object policy.  Save it in the folio header.
		* as.c (as_build_internal): Update cap_copy_x use to reflect API
		changes.
		* thread.h: Remove parameter addr_trans and replace with a
		parameter that includes it and the object policy.  Update users.
		* thread.c (thread_exregs): Remove parameter addr_trans and
		replace with a parameter that includes it and the object policy.
		Pass it to cap_copy_x as appropriate.
		* server.c: Include "output.h".
		(server_loop): Update the folio_object_alloc,
		object_slot_copy_out, object_slot_copy_in, and cap_copy
		implementations to set the allocated object's policy consistent
		with the API changes.  Update the object_slot_read and cap_read
		implementations to return the object policy consistent with the
		API changes.  Update the thread_exregs implementation to handle
		the address space capability's object policy consistent with the
		API changes.
	
	ruth/
	
	2007-12-25  Neal H. Walfield  <neal@gnu.org>
	
		* ruth.c (main): Change visit to be consistent with as_walk's
		expected function signature.  Update rm_folio_object_alloc use to
		reflect API changes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/viengoos.c?cvsroot=hurd&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.h?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.c?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/t-as.c?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/t-activity.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/server.c?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.h?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/as.c?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.47&r2=1.48
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ruth.c?cvsroot=hurd&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ChangeLog?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/storage.c?cvsroot=hurd&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/as.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/as.c?cvsroot=hurd&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/thread.h?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/folio.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/cap.h?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.51&r2=1.52


_______________________________________________
Commit-hurd mailing list
Commit-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-hurd
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic