initial version

This commit is contained in:
chyyuu
2012-08-22 12:32:13 +08:00
parent e325fad98f
commit 15f7ebf37b
743 changed files with 94930 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
.text
.globl kernel_thread_entry
kernel_thread_entry: # void kernel_thread(void)
pushl %edx # push arg
call *%ebx # call fn
pushl %eax # save the return value of fn(arg)
call do_exit # call do_exit to terminate current thread