view mem.h @ 117:fb7944d3ed5c

Fix call_r in gen_x86 so that it properly returns a pointer to the location after the generated instruction
author Mike Pavone <pavone@retrodev.com>
date Fri, 28 Dec 2012 21:25:00 -0800
parents 2bdad0f52f42
children 140af5509ce7
line wrap: on
line source

#ifndef MEM_H_
#define MEM_H_

#include <stddef.h>

#define PAGE_SIZE 4096

void * alloc_code(size_t *size);

#endif //MEM_H_