Remove old search function

This commit is contained in:
Maxime Bloch 2020-01-29 03:57:24 +01:00
parent 200e58b6f6
commit c66bb87aaf
No known key found for this signature in database
GPG key ID: CE32A7D95B7D6418

View file

@ -22,15 +22,6 @@ typedef struct page_tag {
page_tag *start = (void *) MEMORY_START;; page_tag *start = (void *) MEMORY_START;;
page_tag *__searchPage(void *data) {
page_tag *curr_page = start;
while (curr_page + (sizeof(page_tag)) != data) {
curr_page = curr_page->next;
}
return curr_page;
}
void *alloc(size_t size) { void *alloc(size_t size) {
page_tag *curr_page = start; page_tag *curr_page = start;