A MIPS port of xv6
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
tools
usr
.dir-locals.el
.gdbinit.tmpl
.gitignore
LICENSE
Makefile
README
README.md
asm.h
bio.c
bootasm.S
bootmain.c
buf.h
console.c
date.h
defs.h
elf.h
entry.S
entryother.S
exec.c
fcntl.h
file.c
file.h
fs.c
fs.h
gdbutil
ide.c
initcode.S
ioapic.c
kalloc.c
kbd.c
kbd.h
kernel.ld
lapic.c
log.c
main.c
memide.c
memlayout.h
mips.h
mmu.h
mp.c
mp.h
param.h
picirq.c
pipe.c
proc.c
proc.h
procasm.S
regs.h
sign.pl
sleep1.p
spinlock.c
spinlock.h
spinp
stat.h
string.c
swtch.S
symlink.patch
syscall.c
syscall.h
sysfile.c
sysproc.c
timer.c
trap.c
trapasm.S
traps.h
types.h
uart.c
user.h
vectors.pl
vm.c

README.md

Xv6-mips

This is MIPS port of Xv6, educational reimplementation of UNIX v6.
Visit https://pdos.csail.mit.edu/6.828/2012/xv6.html for official information of Xv6.

This is written for MIPS R4000 and runs on qemu MIPS arch now.
It is still in progress and unstable.

Building and Running

Xv6-mips is compiled with mipsel-sde-elf-gcc at current. You can build it very easily with crosstool-ng (http://crosstool-ng.org/). If you want to use other cross compilers, rewrite TOOLPREFIX in Makefile.

To build Xv6-mips, just run

$ make

Then Xv6-mips runs by

$ make qemu-memfs

It uses serial as its console, so use your terminal's standart io to communicate with Xv6 though the Qemu's empty black screen window appears.

Original Xv6 README

This repository also includes the original Xv6 README. Please read "README" file for it.