/* * include/asm-ppc/rheap.h * * Header file for the implementation of a remote heap. * * Author: Pantelis Antoniou <panto@intracom.gr> * * 2004 (c) INTRACOM S.A. Greece. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied.
*/
/* Destroy a remote heap, created by rh_create() */ externvoid rh_destroy(rh_info_t * info);
/* Initialize in place a remote info block */ externvoid rh_init(rh_info_t * info, unsignedint alignment, int max_blocks,
rh_block_t * block);
/* Attach a free region to manage */ externint rh_attach_region(rh_info_t * info, unsignedlong start, int size);
/* Detach a free region */ externunsignedlong rh_detach_region(rh_info_t * info, unsignedlong start, int size);
/* Allocate the given size from the remote heap (with alignment) */ externunsignedlong rh_alloc_align(rh_info_t * info, int size, int alignment, constchar *owner);
/* Allocate the given size from the remote heap */ externunsignedlong rh_alloc(rh_info_t * info, int size, constchar *owner);
/* Allocate the given size from the given address */ externunsignedlong rh_alloc_fixed(rh_info_t * info, unsignedlong start, int size, constchar *owner);
/* Free the allocated area */ externint rh_free(rh_info_t * info, unsignedlong start);
/* Get stats for debugging purposes */ externint rh_get_stats(rh_info_t * info, int what, int max_stats,
rh_stats_t * stats);
/* Simple dump of remote heap info */ externvoid rh_dump(rh_info_t * info);
/* Simple dump of remote info block */ void rh_dump_blk(rh_info_t *info, rh_block_t *blk);
/* Set owner of taken block */ externint rh_set_owner(rh_info_t * info, unsignedlong start, constchar *owner);
#endif/* __ASM_PPC_RHEAP_H__ */
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.