cfenollosa_os-tutorial/22-malloc/libc/mem.h
2015-05-18 09:39:41 +02:00

13 lines
262 B
C

#ifndef MEM_H
#define MEM_H
#include "../cpu/type.h"
void memory_copy(u8 *source, u8 *dest, int nbytes);
void memory_set(u8 *dest, u8 val, u32 len);
/* At this stage there is no 'free' implemented. */
u32 kmalloc(u32 size, int align, u32 *phys_addr);
#endif