view kernel/memory.c3 @ 324:ed6d0adaa626

Added qemu arm emulated image
author Windel Bouwman
date Fri, 31 Jan 2014 12:45:17 +0100
parents 6753763d3bec
children
line wrap: on
line source

module memory;

import process;

var int ptr;

function u8* Alloc(int size)
{
    ptr = ptr + size;
    return cast<u8*>(ptr);
}