view kernel/memory.c3 @ 283:c9781c73e7e2

Added first kernel files
author Windel Bouwman
date Fri, 15 Nov 2013 12:26:50 +0100
parents
children 6aa721e7b10b
line wrap: on
line source

module memory;
import process;

uint8_t* ptr;

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