16 lines
341 B
C
16 lines
341 B
C
|
#ifndef MEM_H
|
||
|
#define MEM_H
|
||
|
|
||
|
#include "../cpu/types.h"
|
||
|
#include "../libc/string.h"
|
||
|
#include "../drivers/screen.h"
|
||
|
#include "globals.h"
|
||
|
|
||
|
void memory_copy(u8 *source, u8 *dest, int nbytes);
|
||
|
void memory_set(u8 *dest, u8 val, u32 len);
|
||
|
|
||
|
u32 kmalloc(u32 size, int align, u32 *phys_addr);
|
||
|
u32 umalloc(u32 size, int align, u32 *phys_addr);
|
||
|
|
||
|
#endif
|