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.
14 lines
315 B
14 lines
315 B
#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
|