gunnarsundberg / class_xv6 Goto Github PK
View Code? Open in Web Editor NEWPatched version of xv6 used for learning purposes in OS Concepts course at Florida Poly Fall 2021
Patched version of xv6 used for learning purposes in OS Concepts course at Florida Poly Fall 2021
Populate the call array in usys.S
for part a and part b.
Implement a tester for getpinfo()
syscall in user/readingpstat.c
. The output format is shown in the project description and video 3 in canvas has all the info you need.
Add tester that calls getpid()
and a tester that prints the number of times that getpid()
has been called.
Add tester that prints the number of system calls made by the user and the system.
Implement the function for part A by incrementing the counter. Add the ability to return the value for both part A and B.
Add all declarations for new syscalls (settickets()
and getpinfo()
) in necessary files. These files are listed in mini project 1.
Declare the function for the new system call in user/user.h
Register system calls for part A and part B in kernel/sysfunc.h
Update scheduler
(in kernel/proc.c
) from RR to lottery scheduler.
Add pointer to the new system call and then logic for counting the number of calls to the system call function
Implement tester in main()
located at user/tickettest.c
. Video 4 on canvas resources should have everything you need to do this.
Add syscall numbers for new syscalls created for Part A and Part B. This should be done in include/syscall.h
Add new programs to list of user programs in user/makefile.mk
to be able to run tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.