Skip to main content

Questions tagged [xv6]

Use this tag if your question is about the xv6 OS (a "pedagogical" reimplementation of Unix v6, as used in MIT's 6.828 course) and do NOT want to mislead people into giving answers which assume Linux or other modern Unix system, which are quite different both in their implementation and interfaces.

0 votes
1 answer
309 views

I implemented thread's switching using functions like thread_schedule(), and thread_yield(), which aim at saving current thread's registers and state and loading next thread's one. I now want to ...
moveq's user avatar
  • 1
0 votes
1 answer
859 views

It seems fairly obvious why user processes can't write or modify data on kernel address space. But I can't get my head around why they can't even read the data. I know that a segmentation trap would ...
Mahdi Vakili's user avatar
0 votes
1 answer
2k views

I have an interest in Operating Systems. So I am reading the xv6 book to understand Operating Systems. This is my first book on the subject. I read a line I couldn't understand. Internally, the xv6 ...
Vishal Dalwadi's user avatar
2 votes
2 answers
3k views

I'm reading a shell program implementation in C ( the xv6 shell from MIT's 6.828 Operating System Engineering course ). The main() function for this shell starts with the following code: //Assumes ...
Rany Albeg Wein's user avatar