Update README. Remove debug code.
This commit is contained in:
@@ -49,7 +49,6 @@ int main() {
|
||||
if (buffer)
|
||||
delete[] buffer;
|
||||
buffer = new char[128];
|
||||
printf("Buffer allocations: %d\n", kernel_process.count_allocations(buffer));
|
||||
printf(">>> ");
|
||||
for (int i=0; i<128; i++)
|
||||
buffer[i] = 0;
|
||||
|
||||
@@ -52,7 +52,6 @@ void* Process::allocate(uint32_t size) {
|
||||
|
||||
ptr += elem_size;
|
||||
}
|
||||
printf("ptr: %x\nPage Remaining: %d\n", this->last_page_pointer, this->page_remaining, ptr);
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user