mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 23:03:55 +00:00
Since compiling natively, the compile environment has been less forgiving
about silly typos. Use the correct comment sequences.
This commit is contained in:
parent
a885db9a13
commit
4ce3e250ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114917
|
@ -199,7 +199,7 @@ IDTVEC(int0x80_syscall)
|
|||
* XXX The PCPU stuff is stubbed out right now...
|
||||
*/
|
||||
IDTVEC(fast_syscall)
|
||||
#swapgs
|
||||
/* XXX swapgs */
|
||||
movq %rsp,PCPU(SCRATCH_RSP)
|
||||
movq common_tss+COMMON_TSS_RSP0,%rsp
|
||||
/* Now emulate a trapframe. Ugh. */
|
||||
|
@ -255,7 +255,7 @@ IDTVEC(fast_syscall)
|
|||
movq TF_RIP(%rsp),%rcx /* original %rip */
|
||||
movq TF_RSP(%rsp),%r9 /* user stack pointer */
|
||||
movq %r9,%rsp /* original %rsp */
|
||||
#swapgs
|
||||
/* XXX swapgs */
|
||||
sysretq
|
||||
3: /* Requested full context restore, use doreti for that */
|
||||
andq $~PCB_FULLCTX,PCB_FLAGS(%rax)
|
||||
|
|
|
@ -366,7 +366,7 @@ ENTRY(fuword32)
|
|||
cmpq %rax,%rdi /* verify address is valid */
|
||||
ja fusufault
|
||||
|
||||
# XXX use the 64 extend
|
||||
/* XXX use the 64 extend */
|
||||
xorq %rax, %rax
|
||||
movl (%rdi),%eax
|
||||
movq $0,PCB_ONFAULT(%rcx)
|
||||
|
@ -397,7 +397,7 @@ ENTRY(fuword16)
|
|||
cmpq %rax,%rdi
|
||||
ja fusufault
|
||||
|
||||
# XXX use the 64 extend
|
||||
/* XXX use the 64 extend */
|
||||
xorq %rax, %rax
|
||||
movzwl (%rdi),%eax
|
||||
movq $0,PCB_ONFAULT(%rcx)
|
||||
|
@ -414,7 +414,7 @@ ENTRY(fubyte)
|
|||
cmpq %rax,%rdi
|
||||
ja fusufault
|
||||
|
||||
# XXX use the 64 extend
|
||||
/* XXX use the 64 extend */
|
||||
xorq %rax, %rax
|
||||
movzbl (%rdi),%eax
|
||||
movq $0,PCB_ONFAULT(%rcx)
|
||||
|
|
Loading…
Reference in a new issue