kernel/inc/utils/memory.h

17 lines
577 B
C
Raw Permalink Normal View History

// This file is part of noxos and licensed under the MIT open source license
2023-01-25 00:42:04 +00:00
2023-01-25 11:22:27 +00:00
#ifndef NOX_MEMORY_H
#define NOX_MEMORY_H
2023-01-25 00:42:04 +00:00
#include "stdtypes.h"
void memory_copy (void* source, void* destination, uint32_t num);
void memory_set (void* destination, uint8_t data, uint32_t num);
bool memory_compare (void* a, void* b, uint32_t num);
void* memory_allocate (uint64_t size);
void memory_free (void* address);
void memory_allocator_init (void* base);
void memory_hexdump (uint8_t* address, uint64_t num);
2023-01-25 00:42:04 +00:00
2023-01-25 11:22:27 +00:00
#endif //NOX_MEMORY_H