zalloc_defs.h (84993) | zalloc_defs.h (100394) |
---|---|
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 * $FreeBSD: head/lib/libstand/zalloc_defs.h 84993 2001-10-15 13:50:47Z robert $ | 29 * $FreeBSD: head/lib/libstand/zalloc_defs.h 100394 2002-07-20 04:18:20Z peter $ |
30 */ 31 32/* 33 * DEFS.H 34 */ 35 36#define USEGUARD /* use stard/end guard bytes */ 37#if !defined(__powerpc__) --- 53 unchanged lines hidden (view full) --- 91typedef struct Guard { 92 size_t ga_Bytes; 93 size_t ga_Magic; /* must be at least 32 bits */ 94} Guard; 95 96#define MATYPE long double 97#define MALLOCALIGN ((sizeof(MATYPE) > sizeof(Guard)) ? sizeof(MATYPE) : sizeof(Guard)) 98#define GAMAGIC 0x55FF44FD | 30 */ 31 32/* 33 * DEFS.H 34 */ 35 36#define USEGUARD /* use stard/end guard bytes */ 37#if !defined(__powerpc__) --- 53 unchanged lines hidden (view full) --- 91typedef struct Guard { 92 size_t ga_Bytes; 93 size_t ga_Magic; /* must be at least 32 bits */ 94} Guard; 95 96#define MATYPE long double 97#define MALLOCALIGN ((sizeof(MATYPE) > sizeof(Guard)) ? sizeof(MATYPE) : sizeof(Guard)) 98#define GAMAGIC 0x55FF44FD |
99#define GAFREE 0x5F54F4DF |
|
99 100#include "zalloc_protos.h" 101 | 100 101#include "zalloc_protos.h" 102 |