bond/x64/src/common/lib/salloc/inc/salloc.h

21 lines
403 B
C
Raw Normal View History

2016-05-24 07:27:26 +00:00
/* Copyright 2016 secXsQuared
* Distributed under GPL license
* See COPYING under root for details
*/
#ifndef _SALLOC_H_
#define _SALLOC_H_
#include "g_abi.h"
2016-06-01 05:00:29 +00:00
void KAPI salloc_init(void *base, uint32_t size);
2016-06-01 05:00:29 +00:00
void* KAPI salloc(void *base, uint32_t size);
2016-05-24 07:10:32 +00:00
2016-06-01 05:00:29 +00:00
void KAPI sfree(void *base, void *ptr);
2016-05-24 07:10:32 +00:00
2016-06-01 05:00:29 +00:00
bool KAPI salloc_assert(void *base, uint32_t blk_size[], bool blk_free[], uint32_t size);
#endif