Skip to content

AbdAlRahmanGad/xv6-public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XV6

This repository contains the projects I have done on xv6 as a part of OSTEP, See their git for more information.

Tasks progress

  • p1b_1 (adding a system call that returns how many times that the read() system call has been called by user processes since the time that the kernel was booted) commit link.

  • p1b_2 (add lock to make the counter thread-safe) commit link.

test files names: test_1_p1b.c test_2_p1b.c

note: I added the file to the MakeFile to make it easy to test, so all you have to do is build the xv6 and inside of it type test_1_p1b or test_2_p1b.c, etc.

About XV6

xv6 is a re-implementation of Dennis Ritchie's and Ken Thompson's Unix Version 6 (v6). xv6 loosely follows the structure and style of v6, but is implemented for a modern x86-based multiprocessor using ANSI C.

Check the original repository for more information.

Releases

No releases published

Packages

No packages published

Languages

  • C 85.9%
  • Assembly 4.0%
  • Makefile 3.6%
  • Shell 2.4%
  • Perl 2.2%
  • Ruby 1.1%
  • Other 0.8%