Este site funciona melhor com JavaScript.
Página inicial
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
add progs for lec2
main
chyyuu
11 anos atrás
pai
bd9d82beda
commit
09ffe0ec51
3 arquivos alterados
com
13 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+8
-0
related_info/lec2/Makefile
BIN
related_info/lec2/hello
+5
-0
related_info/lec2/hello.c
+ 8
- 0
related_info/lec2/Makefile
Ver arquivo
@ -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
Ver arquivo
+ 5
- 0
related_info/lec2/hello.c
Ver arquivo
@ -0,0 +1,5 @@
#
include
<stdio.h>
void
main
(
void
)
{
printf
(
"
hello world
\n
"
)
;
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar