view kernel/memory.c3 @ 287:1c7c1e619be8

File movage
author Windel Bouwman
date Thu, 21 Nov 2013 11:57:27 +0100
parents c9781c73e7e2
children 6aa721e7b10b
line wrap: on
line source

module memory;
import process;

uint8_t* ptr;

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