PERFORCE change 28569 for review
Peter Wemm
peter at FreeBSD.org
Tue Apr 8 15:37:17 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28569
Change 28569 by peter at peter_daintree on 2003/04/08 15:36:30
use 8-byte array indexes in the pointer arrays, thanks Jake.
Affected files ...
.. //depot/projects/hammer/sys/x86_64/isa/icu_vector.s#8 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/isa/icu_vector.s#8 (text+ko) ====
@@ -45,11 +45,11 @@
call critical_enter ; \
movq PCPU(CURTHREAD),%rbx ; \
incl TD_INTR_NESTING_LEVEL(%rbx) ; \
- movq intr_unit + (irq_num) * 4, %rdi ; \
- call *intr_handler + (irq_num) * 4 ; /* do the work ASAP */ \
+ movq intr_unit + (irq_num) * 8, %rdi ; \
+ call *intr_handler + (irq_num) * 8 ; /* do the work ASAP */ \
enable_icus ; /* (re)enable ASAP (helps edge trigger?) */ \
incl cnt+V_INTR ; /* book-keeping can wait */ \
- movq intr_countp + (irq_num) * 4,%rax ; \
+ movq intr_countp + (irq_num) * 8,%rax ; \
incq (%rax) ; \
decl TD_INTR_NESTING_LEVEL(%rbx) ; \
call critical_exit ; \
More information about the p4-projects
mailing list