ram is only used within LwIP.
 
Symbols
loading...
Files
loading...

ram variable

pointer to the heap (ram_heap): for alignment, ram is now a pointer instead of an array

Syntax

static u8_t *ram;

References

LocationReferrerText
mem.c:384
static u8_t *ram;
mem.c:453ptr_to_mem()
return (struct mem *)(void *)&ram[ptr];
mem.c:459mem_to_ptr()
return (mem_size_t)((u8_t *)mem - ram);
mem.c:479plug_holes()
LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram);
mem.c:524mem_init()
mem.c:526mem_init()
mem = (struct mem *)(void *)ram;
mem.c:538mem_init()
lfree = (struct mem *)(void *)ram;
mem.c:638mem_free()
if ((u8_t *)mem < ram || (u8_t *)rmem + MIN_SIZE_ALIGNED > (u8_t *)ram_end) {
mem.c:721mem_trim()
LWIP_ASSERT("mem_trim: legal memory", (u8_t *)rmem >= (u8_t *)ram &&
mem.c:724mem_trim()
if ((u8_t *)rmem < (u8_t *)ram || (u8_t *)rmem >= (u8_t *)ram_end) {

Data Use

Functions writing ram
Functions reading ram
all items filtered out
ram
Type of ram
ram
all items filtered out