view kernel/memory.c3 @ 291:b07d28a5ca56

Added some forgotten files
author Windel Bouwman
date Thu, 28 Nov 2013 20:31:47 +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;
}