13 lines
292 B
C
13 lines
292 B
C
|
|
#ifndef HAKMEM_ACE_H
|
||
|
|
#define HAKMEM_ACE_H
|
||
|
|
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
#include "hakmem_policy.h"
|
||
|
|
|
||
|
|
// SACS-3: central L1 allocator. Returns NULL on miss to fall back to malloc.
|
||
|
|
void* hkm_ace_alloc(size_t size, uintptr_t site_id, const FrozenPolicy* pol);
|
||
|
|
|
||
|
|
#endif // HAKMEM_ACE_H
|
||
|
|
|