mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
14 lines
315 B
C
14 lines
315 B
C
#ifndef MEM_H
|
|
#define MEM_H
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
void memory_copy(uint8_t *source, uint8_t *dest, int nbytes);
|
|
void memory_set(uint8_t *dest, uint8_t val, uint32_t len);
|
|
|
|
/* At this stage there is no 'free' implemented. */
|
|
uint32_t kmalloc(size_t size, int align, uint32_t *phys_addr);
|
|
|
|
#endif
|