Added barriers

This commit is contained in:
felsabbagh3
2019-05-17 08:34:00 +04:00
parent 48468ed26a
commit 8995267cd3
5 changed files with 125 additions and 27 deletions

View File

@@ -0,0 +1,15 @@
void * vx_malloc_shared(unsigned);
void vx_free(void *);
typedef struct
{
void * ptr;
} free_t;
void * heap_ptr = (void *) 0xFF000000;
free_t free_array[100];
unsigned free_index = 0;