zalloc_defs.h (39672) | zalloc_defs.h (39863) |
---|---|
1/* 2 * This module derived from code donated to the FreeBSD Project by 3 * Matthew Dillon <dillon@backplane.com> 4 * 5 * Copyright (c) 1998 The FreeBSD Project 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * This module derived from code donated to the FreeBSD Project by 3 * Matthew Dillon <dillon@backplane.com> 4 * 5 * Copyright (c) 1998 The FreeBSD Project 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Id: zalloc_defs.h,v 1.1 1998/09/26 01:42:39 msmith Exp $ | 29 * $Id: zalloc_defs.h,v 1.2 1998/09/26 10:48:50 dfr Exp $ |
30 */ 31 32/* 33 * DEFS.H 34 */ 35 | 30 */ 31 32/* 33 * DEFS.H 34 */ 35 |
36#define USEPANIC /* call panic() to register errors */ | |
37#define USEGUARD /* use stard/end guard bytes */ 38#define USEENDGUARD 39#define DMALLOCDEBUG /* add debugging code to gather stats */ 40#define ZALLOCDEBUG | 36#define USEGUARD /* use stard/end guard bytes */ 37#define USEENDGUARD 38#define DMALLOCDEBUG /* add debugging code to gather stats */ 39#define ZALLOCDEBUG |
41#define MALLOCLIB /* don't build unnecessary zalloc parts */ | |
42 43#include <string.h> 44#include "stand.h" 45 46#ifdef __i386__ 47typedef unsigned int iaddr_t; /* unsigned int same size as pointer */ 48typedef int saddr_t; /* signed int same size as pointer */ 49#endif --- 40 unchanged lines hidden --- | 40 41#include <string.h> 42#include "stand.h" 43 44#ifdef __i386__ 45typedef unsigned int iaddr_t; /* unsigned int same size as pointer */ 46typedef int saddr_t; /* signed int same size as pointer */ 47#endif --- 40 unchanged lines hidden --- |