Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
add progs for lec2
main
chyyuu
il y a 12 ans
Parent
bd9d82beda
révision
09ffe0ec51
3 fichiers modifiés
avec
13 ajouts
et
0 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+8
-0
related_info/lec2/Makefile
BIN
related_info/lec2/hello
+5
-0
related_info/lec2/hello.c
+ 8
- 0
related_info/lec2/Makefile
Voir le fichier
@ -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
related_info/lec2/hello
Voir le fichier
+ 5
- 0
related_info/lec2/hello.c
Voir le fichier
@ -0,0 +1,5 @@
#
include
<stdio.h>
void
main
(
void
)
{
printf
(
"
hello world
\n
"
)
;
}
Écrire
Aperçu
Chargement…
Annuler
Enregistrer