GadgetSeed
0.9.6
|
メモリ管理 [詳解]
#include "sysconfig.h"
#include "memory.h"
#include "tkprintf.h"
#include "str.h"
#include "dkprintf.h"
#include <stdlib.h>
関数 | |
unsigned int | system_heap_size (void) |
< $gsc ヒープメモリ管理をnewlibで行う | |
unsigned int | system_heap_total_size (void) |
void | init_memory (void) |
メモリ管理の初期化 | |
void | display_memory_info (void) |
メモリ状態表示 | |
void * | alloc_memory (unsigned int size) |
メモリを確保する [詳解] | |
void | free_memory (void *ptr) |
確保したメモリを開放する [詳解] | |
unsigned long | memory_size (void *ptr) |
確保したメモリのバイト数を取得する [詳解] | |
unsigned long | heap_free_size (void) |
未確保のメモリの合計バイト数を取得する [詳解] | |
unsigned long | heap_total_size (void) |
全てのメモリのバイト数を取得する [詳解] | |
void* alloc_memory | ( | unsigned int | size | ) |
unsigned long heap_free_size | ( | void | ) |