mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-21 18:52:18 +00:00
fix old testing code
This commit is contained in:
parent
e71a141533
commit
00bc8cdb97
1 changed files with 0 additions and 2 deletions
|
@ -187,8 +187,6 @@ void memory_init(struct memory_map *map) {
|
|||
long page_area_size = segment_count * sizeof(struct memory_area);
|
||||
char *page_area_addr = (char *)bitmap + bitmap_size;
|
||||
bitmap = mmap(bitmap, bitmap_size);
|
||||
ltoa((long)bitmap, buf, 16);
|
||||
memset(bitmap, 0, 12);
|
||||
memset(bitmap, 0, bitmap_size);
|
||||
|
||||
memory_start = page_align(kaddr(kernel_end) + bitmap_size + page_area_size);
|
||||
|
|
Loading…
Reference in a new issue