其他分享
首页 > 其他分享> > 6.828:Lab2 Memory Management 实验总结

6.828:Lab2 Memory Management 实验总结

作者:互联网

文章目录

Part1 Physical Page Management

Exercise 1. In the file kern/pmap.c, you must implement code for the following functions (probably in the order given).

boot_alloc()
mem_init() (only up to the call to check_page_free_list(1))
page_init()
page_alloc()
page_free()

check_page_free_list() and check_page_alloc() test your physical page allocator. You should boot JOS and see whether check_page_alloc() reports success. Fix your code so that it passes. You may find it helpful to add your own assert()s to verify that your assumptions are correct.

Part2 Virtual Memory

标签:alloc,Management,your,free,page,Lab2,Memory,6.828,check
来源: https://blog.csdn.net/younothings/article/details/118913220