avatar
文章
51
标签
70
分类
8
home
archives
tags
categories
about
Elian's blog page
home
archives
tags
categories
about

Elian's blog page

250707-250714 周记 2024-xv6-labs(1)
发表于2025-07-14|2024-xv6-labs
本周主要完成了2024-xv6-labs的util到cow的五个实验。 1. util lab1.1 sleep这个算是最简单的实验了。按照hints一步步写即可。没有任何额外需要注意的地方。 1.2 pingpong这个实验的主要难点是理解pipe函数的使用。先查看 sys_pipe函数: 1234567891011121314151617181920212223voidsys_pipe(void){ uint64 fdarray; // user pointer to array of two integers struct file *rf, *wf; int fd0, fd1; struct proc *p = myproc(); argaddr(0, &fdarray); if(pipealloc(&rf, &wf) < 0){ ... } ... if((fd0 = fdalloc(rf)) < 0 || (fd1 = fdalloc(wf))...
1…56
avatar
Eliano
文章
51
标签
70
分类
8
Follow Me
最新文章
260326 thinking kmp2026-03-26
251122 tool Nginx2025-11-29
251122 thinking visitor2025-11-29
251122 tool swagger2025-11-22
251122 thinking template2025-11-22
分类
  • 2024-xv6-labs2
  • Base Knowledge2
  • Design Pattern21
  • Qt1
  • cache1
  • data structure & algorithm15
  • record3
  • tool6
标签
Nginx tool Flyweight Pattern reading note shell Factory Method Abstract Factory Strategy Pattern heap Design Pattern Prototype Pattern Observer Pattern Monotonic Stack Command Pattern Template Method Pattern go Facade Pattern data structure & algorithm binary search mathematics state compression Interface Oriented Programming Iterator Pattern 0-1 bag dp Visitor Pattern Proxy Pattern Record sieve of Eratosthenes linux difference rollback Adapter Pattern Projects string Builder Pattern kmp Trie javascript docker slider window
归档
  • 三月 2026 1
  • 十一月 2025 15
  • 十月 2025 16
  • 九月 2025 6
  • 八月 2025 9
  • 七月 2025 4
网站信息
文章数目 :
51
本站总字数 :
61.8k
最后更新时间 :
©2025 - 2026 By Eliano
框架 Hexo 7.3.0|主题 Butterfly 5.3.5
All Rights Reserved.