#include "service/helper.h"#include "service/string.h"#include "service/logging.h"Functions | |
| void * | memalloc_mempool (unsigned long size, unsigned long align) |
| Malloc implementation. | |
| void | memfree_mempool (void *) |
| void * | operator new (unsigned size) |
| void * | operator new[] (unsigned size) |
| void * | operator new[] (unsigned size, unsigned alignment) |
| Helper functions. | |
| void * | operator new (unsigned size, unsigned alignment) |
| void | operator delete (void *ptr) |
| void | operator delete[] (void *ptr) |
Variables | |
| void *(* | memalloc )(unsigned long size, unsigned long align) = memalloc_mempool |
| void(* | memfree )(void *ptr) = memfree_mempool |
| void* memalloc_mempool | ( | unsigned long | size, | |
| unsigned long | align | |||
| ) |
Malloc implementation.
Copyright (C) 2007-2008, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver 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 General Public License version 2 for more details. Alloc memory from a mempool defined in the linker script.
| void memfree_mempool | ( | void * | ) |
| void operator delete | ( | void * | ptr | ) |
| void operator delete[] | ( | void * | ptr | ) |
| void* operator new | ( | unsigned | size, | |
| unsigned | alignment | |||
| ) |
| void* operator new | ( | unsigned | size | ) |
| void* operator new[] | ( | unsigned | size | ) |
| void* operator new[] | ( | unsigned | size, | |
| unsigned | alignment | |||
| ) |
Helper functions.
Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver 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 General Public License version 2 for more details.
| void*(* memalloc)(unsigned long size, unsigned long align) = memalloc_mempool |
| void(* memfree)(void *ptr) = memfree_mempool |
1.7.1