void * lm_alloc(unsigned long size, mmap_t *map)
Allocates a memory block in low memory area with the specified size.
void lm_free(mmap_t *map)
Frees a memory block in the low memory area, previously allocated using lm_alloc() ...
phys_bytes phys
physical address
Definition: lmlib.h:17
void * lm_init(void)
Initializes the low memory area, the region up to the 1 MByte physical address, by mapping it on the ...
unsigned long size
size of memory region
Definition: lmlib.h:19