Skip to content

Implement a memory manager #15

Closed
Closed
@dcodeIO

Description

@dcodeIO

Memory management is pretty much a filler currently and consists of a large linear chunk of non-disposable memory.

Ref: std/assembly/heap.ts

API is:

  • allocate_memory(size: usize): usize
    Pretty much like C's malloc.
  • free_memory(ptr: usize): void
    Pretty much like C's free.

Requirements are, in this order:

  • Should be correct
  • Should be efficient
  • Should be small

TLSF seems to be a viable candidate.

Useful resources:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions