This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add progs for lec2
main
chyyuu
11 years ago
parent
bd9d82beda
commit
09ffe0ec51
3 changed files
with
13 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
related_info/lec2/Makefile
BIN
related_info/lec2/hello
+5
-0
related_info/lec2/hello.c
+ 8
- 0
related_info/lec2/Makefile
View File
@ -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
View File
+ 5
- 0
related_info/lec2/hello.c
View File
@ -0,0 +1,5 @@
#
include
<stdio.h>
void
main
(
void
)
{
printf
(
"
hello world
\n
"
)
;
}
Write
Preview
Loading…
Cancel
Save