mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
13 lines
262 B
C
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
|