Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Reselect the ioapic register for each...
details: https://anonhg.NetBSD.org/src/rev/30870cba6199
branches: trunk
changeset: 547015:30870cba6199
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sun May 11 15:46:57 2003 +0000
description:
Reselect the ioapic register for each read or write.
diffstat:
sys/arch/amd64/include/i82093reg.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 3d30c61452c3 -r 30870cba6199 sys/arch/amd64/include/i82093reg.h
--- a/sys/arch/amd64/include/i82093reg.h Sun May 11 15:40:03 2003 +0000
+++ b/sys/arch/amd64/include/i82093reg.h Sun May 11 15:46:57 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82093reg.h,v 1.2 2003/05/04 23:46:41 fvdl Exp $ */
+/* $NetBSD: i82093reg.h,v 1.3 2003/05/11 15:46:57 fvdl Exp $ */
#include <x86/i82093reg.h>
@@ -52,11 +52,12 @@
movl IS_PIN(%r14),%esi ;\
leaq 0x10(%rsi,%rsi,1),%rsi ;\
movq IOAPIC_SC_REG(%rdi),%r15 ;\
+ movq IOAPIC_SC_DATA(%rdi),%r13 ;\
movl %esi, (%r15) ;\
- movq IOAPIC_SC_DATA(%rdi),%r15 ;\
- movl (%r15),%esi ;\
- andl $~IOAPIC_REDLO_MASK,%esi ;\
+ movl (%r13),%r12d ;\
+ andl $~IOAPIC_REDLO_MASK,%r12d ;\
movl %esi,(%r15) ;\
+ movl %r12d,(%r13) ;\
ioapic_asm_unlock(num) ;\
79:
Home |
Main Index |
Thread Index |
Old Index