view mem.h @ 70:cebd0b5ac7f0

Make the translator bail out if it hits an instruction I haven't implemented yet
author Mike Pavone <pavone@retrodev.com>
date Thu, 20 Dec 2012 09:17:31 -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_