From 4ce3e250ce46e675d77fe7fe0e15bdcabb8eb946 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 11 May 2003 22:38:54 +0000 Subject: [PATCH] Since compiling natively, the compile environment has been less forgiving about silly typos. Use the correct comment sequences. --- sys/amd64/amd64/exception.S | 4 ++-- sys/amd64/amd64/support.S | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 375d1785f34..9b20068378e 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -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) diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index b9b18e841b6..94b5229daa8 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -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)