p-testkalloc.cc 366 Bytes
Newer Older
Eddie Kohler's avatar
Eddie Kohler committed
1
2
3
4
5
6
7
#include "u-lib.hh"

void process_main() {
    // Your code here!
    // Running `testkalloc` should cause the kernel to run buddy allocator
    // tests. How you make this work is up to you.

James Foster's avatar
James Foster committed
8
9
    // Note that panic() will prouce a page fault if there is no console
    // (https://github.com/CS161/chickadee/issues/14)
Eddie Kohler's avatar
Eddie Kohler committed
10
11
    panic("testkalloc not implemented!\n");
}