cen64/os/dynarec.h
Tyler Stachecki 316214d82d (Finally) permit SSE2-only builds.
Add SSE2 codepaths where necessary (even if not complete), while
still allowing the project to be compiled with SSSE3+ intrinsics.
2014-11-10 14:29:13 -05:00

25 lines
498 B
C

//
// os/dynarec.h
//
// Functions for allocating executable code buffers.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#ifndef __os_dynarec_h__
#define __os_dynarec_h__
#include "common.h"
#include <stddef.h>
struct dynarec_slab {
size_t size;
uint8_t *ptr;
};
cen64_cold void *alloc_dynarec_slab(struct dynarec_slab *slab, size_t size);
cen64_cold void free_dynarec_slab(struct dynarec_slab *slab);
#endif