Remove old search function
This commit is contained in:
parent
200e58b6f6
commit
c66bb87aaf
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue