view kernel/src/memory.c3 @ 359:b4ac28efcdf4

Reorganize files
author Windel Bouwman
date Fri, 14 Mar 2014 15:41:55 +0100
parents kernel/memory.c3@6753763d3bec
children 577ed7fb3fe4
line wrap: on
line source

module memory;

import process;

var int ptr;

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