- Fix a comment.

- Whitespace fixes.

Submitted by:	bde
This commit is contained in:
John Baldwin 2001-08-04 20:43:48 +00:00
parent b4c53a8111
commit c6da9f6a8c

View File

@ -55,10 +55,9 @@
SUPERALIGN_TEXT SUPERALIGN_TEXT
.type doreti,@function .type doreti,@function
doreti: doreti:
FAKE_MCOUNT(bintr) /* init "from" bintr -> doreti */ FAKE_MCOUNT(bintr) /* init "from" bintr -> doreti */
doreti_next: doreti_next:
/* Check for ASTs that can be handled now. */ /* Check if ASTs can be handled now. */
testb $SEL_RPL_MASK,TF_CS(%esp) /* are we in user mode? */ testb $SEL_RPL_MASK,TF_CS(%esp) /* are we in user mode? */
jne doreti_ast /* yes, do it now. */ jne doreti_ast /* yes, do it now. */
testl $PSL_VM,TF_EFLAGS(%esp) /* kernel mode */ testl $PSL_VM,TF_EFLAGS(%esp) /* kernel mode */
@ -69,7 +68,7 @@ doreti_next:
doreti_ast: doreti_ast:
pushl %esp /* pass a pointer to the trapframe */ pushl %esp /* pass a pointer to the trapframe */
call ast call ast
add $4, %esp add $4,%esp
/* /*
* doreti_exit: pop registers, iret. * doreti_exit: pop registers, iret.