diff options
author | neal <neal> | 2008-08-22 12:09:22 +0000 |
---|---|---|
committer | neal <neal> | 2008-08-22 12:09:22 +0000 |
commit | dc9064e55f993d79c6ed1ca7093812eaa2fececd (patch) | |
tree | 14e7610a3a6c89a7d4943fe8b44fd50a3d908c84 /physmem/malloc-wrap.c | |
parent | 46828ec1c04a56f0d83eaf36d8161316c24b07f3 (diff) |
2008-08-22 Neal H. Walfield <neal@gnu.org>
* libhurd-cap: Remove.
* libhurd-cap-server: Likewise.
* physmem: Likewise.
* task: Likewise.
Diffstat (limited to 'physmem/malloc-wrap.c')
-rw-r--r-- | physmem/malloc-wrap.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/physmem/malloc-wrap.c b/physmem/malloc-wrap.c deleted file mode 100644 index 31c66ea..0000000 --- a/physmem/malloc-wrap.c +++ /dev/null @@ -1,54 +0,0 @@ -/* malloc-wrap.c - Doug Lea's malloc for the physical memory server. - Copyright (C) 2003 Free Software Foundation, Inc. - Written by Marcus Brinkmann. - - This file is part of the GNU Hurd. - - The GNU Hurd is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU Hurd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#if HAVE_CONFIG_H -#include <config.h> -#endif - -/* Configuration of Doug Lea's malloc. */ - -#include <errno.h> - -#include <l4.h> - -#define __STD_C 1 -#define LACKS_UNISTD_H -#define LACKS_SYS_PARAM_H -#define LACKS_FCNTL_H - -/* We want to use optimized versions of memset and memcpy. */ -#define HAVE_MEMCPY - -/* We always use the supplied mmap emulation. */ -#define MORECORE(x) MORECORE_FAILURE -#define HAVE_MMAP 1 -#define HAVE_MREMAP 0 -#define MMAP_CLEARS 1 -#define malloc_getpagesize l4_min_page_size () -#define MMAP_AS_MORECORE_SIZE (16 * malloc_getpagesize) -#define DEFAULT_MMAP_THRESHOLD (4 * malloc_getpagesize) -#define USE_MALLOC_LOCK 1 - -/* Suppress debug output in mstats(). */ -#define fprintf(...) - -/* Now include Doug Lea's malloc. */ -#include "malloc.c" |