You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
263 B
13 lines
263 B
9 years ago
|
#ifndef MEM_H
|
||
|
#define MEM_H
|
||
|
|
||
|
#include "../cpu/types.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
|