This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
XV6 is a UNIX-like operating system that’s used in my OS class (and other OS classes across the world) for pedagogical purposes. Creating system calls in XV6 is something I do frequently as part of my assignments, and in this article I’m documenting how to do that. Let’s say I want to implement a system call called square that returns the square of of its int argument. (This is…
XV6 is a UNIX-like operating system that’s used in my OS class (and other OS classes across the world) for pedagogical purposes.
Creating system calls in XV6 is something I do frequently as part of my assignments, and in this article I’m documenting how to do that.
Let’s say I want to implement a system call called square that returns the square of of its int argument. (This is just a toy example to show you how the plumbing works; system calls are overkill to find the square of a number).
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.