Date: Thu, 2 Apr 2009 01:46:57 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190636 - head/sys/amd64/acpica Message-ID: <200904020146.n321kvVA048417@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Thu Apr 2 01:46:57 2009 New Revision: 190636 URL: http://svn.freebsd.org/changeset/base/190636 Log: Reduce code duplcations from r190620. While I am here, tweak a comment. Modified: head/sys/amd64/acpica/acpi_switch.S Modified: head/sys/amd64/acpica/acpi_switch.S ============================================================================== --- head/sys/amd64/acpica/acpi_switch.S Thu Apr 2 00:23:56 2009 (r190635) +++ head/sys/amd64/acpica/acpi_switch.S Thu Apr 2 01:46:57 2009 (r190636) @@ -67,9 +67,7 @@ ENTRY(acpi_restorecpu) /* Force kernel segment registers. */ movl $KDSEL, %eax movw %ax, %ds - movl $KDSEL, %eax movw %ax, %es - movl $KDSEL, %eax movw %ax, %ss movl $KUF32SEL, %eax movw %ax, %fs @@ -132,7 +130,7 @@ ENTRY(acpi_restorecpu) #define SDT_SYSTSS 9 #define SDT_SYSBSY 11 - /* Reset task busy bit and reload TR. */ + /* Clear "task busy" bit and reload TR. */ movq PCPU(TSS), %rax andb $(~SDT_SYSBSY | SDT_SYSTSS), 5(%rax) movw WAKEUP_XPCB(TR), %ax
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904020146.n321kvVA048417>