src/mem/memint.h File Reference
#include "memuser.h"
Go to the source code of this file.
Define Documentation
#define HEADER_SIZE ((SIZE_T)ROUNDUP(sizeof(struct block_))) |
#define MAX_SEG_SIZE ((SIZE_T)1 << MAX_SIZE_INDEX) |
#define MAX_SIZE ((SIZE_T)(MAX_SEG_SIZE-HEADER_SIZE)) |
#define MAX_SIZE_INDEX (8*sizeof(SIZE_T)-2) |
#define MEM_COPY |
( |
dest, |
|
|
src, |
|
|
size |
|
) |
bcopy((char *)(src), (char *)(dest), (int)(size)) |
#define MEM_ZERO |
( |
ptr, |
|
|
size |
|
) |
bzero((char *)(ptr), (int)(size)) |
#define MIN_ALLOC_SIZE_INDEX 15 |
#define NICE_BLOCK_SIZE ((SIZE_T)4096-ROUNDUP(sizeof(struct block_))) |
Typedef Documentation
Function Documentation
void mem_fatal ARGS |
( |
(char *) |
|
) |
|