Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
add progs for lec2
main
chyyuu
11 år sedan
förälder
bd9d82beda
incheckning
09ffe0ec51
3 ändrade filer
med
13 tillägg
och
0 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
related_info/lec2/Makefile
Binär
related_info/lec2/hello
+5
-0
related_info/lec2/hello.c
+ 8
- 0
related_info/lec2/Makefile
Visa fil
@ -0,0 +1,8 @@
all
:
hello
.
c
echo
"compile and watch the syscalls from hello"
gcc -o hello hello.c
strace -c ./hello
echo
"watch the interrupts in linux"
more /proc/interrupts
clean
:
rm ./hello
Binär
related_info/lec2/hello
Visa fil
+ 5
- 0
related_info/lec2/hello.c
Visa fil
@ -0,0 +1,5 @@
#
include
<stdio.h>
void
main
(
void
)
{
printf
(
"
hello world
\n
"
)
;
}
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara