• Charles Jacobsen's avatar
    test-v2: kmalloc tests pass, big page alloc test passes. · 42ad48cc
    Charles Jacobsen authored
    Caught a bug in heap allocator - wasn't setting an out
    parameter (that design pattern I use - out params - will be the
    death of me).
    Updated max page allocation order to match the host. The microkernel
    uses the host page allocator, so that is the only limiting
    factor now (so e.g., on x86_64, you can now allocate up to
    2^10 = 1024 pages = 4 MBs inside the LCD, and this is the maximum
    you could allocate in non-isolated code too). Before, the allocation
    size was limited to about 2^6 = 64 pages = 256 KBs.
heap.c 11.3 KB