view kernel/memory.c3 @ 294:e89cca5779b0

Merge
author Windel Bouwman
date Thu, 28 Nov 2013 20:39:56 +0100
parents 6aa721e7b10b
children 9417caea2eb3
line wrap: on
line source

module memory;

import process;

var uint8_t* ptr;

function uint8_t* Alloc(int size)
{
    ptr += size;
    return ptr;
}