This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Viengoos".
The branch, viengoos-on-bare-metal has been updated
via ba024094f5fc4cd55c922990a9b2eb96af52afb1 (commit)
from 114c58f153753fb54988d1f5567531c8ddffc9ee (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ba024094f5fc4cd55c922990a9b2eb96af52afb1
Author: Neal H. Walfield <[email protected]>
Date: Thu Jan 22 00:53:43 2009 +0100
Create a version of the slab allocator appropriate for kernel inclusion.
2009-01-22 Neal H. Walfield <[email protected]>
* Makefile.am (lib_LIBRARIES): Add libhurd-slab-kernel.a.
(AM_CPPFLAGS): Rename from this...
(libhurd_slab_a_CPPFLAGS): ... to this.
(AM_CFLAGS): Rename from this...
(libhurd_slab_a_CFLAGS): ... to this.
(libhurd_slab_kernel_a_CPPFLAGS): New variable.
(libhurd_slab_kernel_a_CFLAGS): Likewise.
(libhurd_slab_kernel_a_SOURCES): Likewise.
* slab.h [RM_INTERN]: Don't include <pthread.h>. Include
"../viengoos/mutex.h".
(struct hurd_slab_space) [RM_INTERN]: Make LOCK an ss_mutex_t.
(hurd_slab_create): Update documentation.
(hurd_slab_free): Likewise.
(hurd_slab_init): Likewise.
* slab.c [NO_ALLOC]: Don't include <stdlib.h> or <sys/mman.h>.
[RM_INTERN]: Don't include <pthread.h>. Include
"../viengoos/mutex.h".
(pthread_mutex_init) [RM_INTERN]: Define.
(pthread_mutex_destroy) [RM_INTERN]: Likewise.
(pthread_mutex_lock) [RM_INTERN]: Likewise.
(pthread_mutex_unlock) [RM_INTERN]: Likewise.
(getpagesize) [RM_INTERN]: Likewise.
(allocate_buffer) [NO_MALLOC]: Don't call mmap.
(deallocate_buffer) [NO_MALLOC]: Don't call munmap.
(hurd_slab_init) [NO_MALLOC]: Assert that ALLOCATE_BUFFER and
DEALLOCATE_BUFFER are not NULL.
(hurd_slab_create) [NO_MALLOC]: Don't define.
(hurd_slab_free): Likewise.
-----------------------------------------------------------------------
Summary of changes:
libhurd-slab/ChangeLog | 31 +++++++++++++++++++++++++++++++
libhurd-slab/Makefile.am | 10 +++++++---
libhurd-slab/slab.c | 44 ++++++++++++++++++++++++++++++++++++++++----
libhurd-slab/slab.h | 26 +++++++++++++++++++++-----
4 files changed, 99 insertions(+), 12 deletions(-)
hooks/post-receive
--
Viengoos