摘要:
exercise 8: 首先实现sys_env_set_pgfault_upcall // kernl/syscall.c static int sys_env_set_pgfault_upcall(envid_t envid, void* func) { // LAB 4: Your code h 阅读全文
摘要:
map --头文件: #include<map> --内部原理: map内部实现了一个红黑树(红黑树是非严格平衡二叉搜索树,而AVL是严格平衡二叉搜索树),红黑树具有自动排序的功能,因此map内部的所有元素都是有序的,红黑树的每一个节点都代表着map的一个元素。因此,对于map进行的查找,删除,添加 阅读全文
摘要:
Exercise 1: // Where to start the next region. Initially, this is the // beginning of the MMIO region. Because this is static, its // value will be pr 阅读全文