avatar
文章
51
标签
69
分类
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
标签
69
分类
8
Follow Me
最新文章
260415 thinking recursion to loop2026-04-15
260326 thinking kmp2026-03-26
251122 tool Nginx2025-11-29
251122 thinking visitor2025-11-29
251122 tool swagger2025-11-22
分类
  • 2024-xv6-labs2
  • Base Knowledge2
  • Design Pattern21
  • Qt1
  • cache1
  • data structure & algorithm15
  • record3
  • tool6
标签
dynamic programming Qt difference C slider window Flyweight Pattern jwt Interface Oriented Programming shell Abstract Factory State Pattern heap binary-search Builder Pattern C++ thinking Adapter Pattern binary search linux go Record javascript Projects leetcode swagger Template Method Pattern electron 0-1 bag dp rollback Composite Pattern Monotonic Stack Memento Pattern docker hash table reading note sieve of Eratosthenes Visitor Pattern Chain of Responsibility Pattern mathematics tool
归档
  • 四月 2026 1
  • 三月 2026 1
  • 十一月 2025 15
  • 十月 2025 16
  • 九月 2025 6
  • 八月 2025 8
  • 七月 2025 4
网站信息
文章数目 :
51
本站总字数 :
62.4k
最后更新时间 :
©2025 - 2026 By Eliano
框架 Hexo 7.3.0|主题 Butterfly 5.3.5
All Rights Reserved.