This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
OS_Project/Part3/09_memory/libc/mem.h
2023-10-18 14:04:33 -04:00

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