Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
add progs for lec2
main
chyyuu
há 11 anos
ascendente
bd9d82beda
cometimento
09ffe0ec51
3 ficheiros alterados
com
13 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+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 ficheiro
@ -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 ficheiro
+ 5
- 0
related_info/lec2/hello.c
Ver ficheiro
@ -0,0 +1,5 @@
#
include
<stdio.h>
void
main
(
void
)
{
printf
(
"
hello world
\n
"
)
;
}
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar