《操作系统》的实验代码。
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

15 rindas
379 B

all: lab1-ex0.exe lab1-ex1.exe
lab1-ex0.exe: defines.h lab1-ex0.s
gcc -m32 -g -o lab1-ex0.exe lab1-ex0.s
strace -f ./lab1-ex0.exe
lab1-ex1.exe: lab1-ex1.c
echo "compile and watch the syscalls from lab1-ex1"
gcc -m32 -o lab1-ex1.exe lab1-ex1.c
strace -c ./lab1-ex1.exe
echo "watch the interrupts in linux"
more /proc/interrupts
clean:
rm lab1-ex0.exe lab1-ex1.exe