Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Update a comment, and use testw instead.
details: https://anonhg.NetBSD.org/src/rev/140b83424ae1
branches: trunk
changeset: 357770:140b83424ae1
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Nov 26 15:00:16 2017 +0000
description:
Update a comment, and use testw instead.
diffstat:
sys/arch/amd64/amd64/locore.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8661aaaaee83 -r 140b83424ae1 sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Sun Nov 26 14:54:43 2017 +0000
+++ b/sys/arch/amd64/amd64/locore.S Sun Nov 26 15:00:16 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.142 2017/11/26 14:54:43 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.143 2017/11/26 15:00:16 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -1197,7 +1197,7 @@
movq PCB_GS(%r14),%rax
movq %rax,(GUGS_SEL*8)(%rcx)
- /* Set default 32bit values in %ds, %es and %fs. %gs is special. */
+ /* Set default 32bit values in %ds, %es, %fs and %gs. */
movq L_MD_REGS(%r12),%rbx
movq $GSEL(GUDATA32_SEL, SEL_UPL),%rax
movw %ax,%ds
@@ -1474,7 +1474,7 @@
ENTRY(intrfastexit)
INTR_RESTORE_GPRS
- testq $SEL_UPL,TF_CS(%rsp) /* interrupted %cs */
+ testw $SEL_UPL,TF_CS(%rsp) /* interrupted %cs */
jz .Lkexit
cmpw $LSEL(LUCODE_SEL, SEL_UPL),TF_CS(%rsp)
je .Luexit64
Home |
Main Index |
Thread Index |
Old Index