21,459
社区成员
发帖
与我相关
我的任务
分享
movl $1, %eax
cmpl $eax, current
je 1f
movl %eax, current
ljmp $TSS1_SEL, $0
jmp 2f
1: movl $0, current
ljmp $TSS0_SEL, $0
2: popl %eax
pop %ds
iret
pushl $0x17
pushl $init_stack
pushl
pushl $0x0f
pushl $task0
iret