mem.h 297 B

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