mem.h 315 B

12345678910111213
  1. #ifndef MEM_H
  2. #define MEM_H
  3. #include <stdint.h>
  4. #include <stddef.h>
  5. void memory_copy(uint8_t *source, uint8_t *dest, int nbytes);
  6. void memory_set(uint8_t *dest, uint8_t val, uint32_t len);
  7. /* At this stage there is no 'free' implemented. */
  8. uint32_t kmalloc(size_t size, int align, uint32_t *phys_addr);
  9. #endif