- gcc 4.8.5
- Install
qemu
- JOS source code in
code
directory - xv6 source code in
HW3:xv6_system_calls/xv6
directory
- build JOS/xv6
- $
make clean
- $
make
- start virtual machine
- $
make qemu
- debug
- one terminal $
make qemu-gdb
- another terminal $
make gdb
- grading your answer in JOS
- $
make grade
- 👉For GCC 7 or later, after switching to lab3 branch an error like
kernel panic at kern/pmap.c:147: PADDR called with invalid kva 00000000
will occur. This is a bug caused by the linker script, modify kern/kernel.ld as follow will fix it.
https://github.com/frdmu/MIT-6.828/commit/56516630e75f93acaa93424b6c4e3821e5fafeed
- 👉If you have any problem when
make
, maybe you can trymake clean
first!
- lab2 challenge
- HW5 Optional challenges
- lab3 challenge1(assembly macros)
- lab3 challenge3
- HW8 Optional challenges
- lab4 challenge
- lab5 challenge
- lab6 challenge