您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
.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
|
|
|