《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
342 B

  1. all: lab1-ex0.exe lab1-ex1.exe
  2. lab1-ex0.exe: defines.h lab1-ex0.s
  3. gcc -g -o lab1-ex0.exe lab1-ex0.s
  4. lab1-ex1.exe: lab1-ex1.c
  5. echo "compile and watch the syscalls from lab1-ex1"
  6. gcc -o lab1-ex1.exe lab1-ex1.c
  7. strace -c ./lab1-ex1.exe
  8. echo "watch the interrupts in linux"
  9. more /proc/interrupts
  10. clean:
  11. rm lab1-ex0.exe lab1-ex1.exe