Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 comments



details:   https://anonhg.NetBSD.org/src/rev/c4a966dbbdb6
branches:  trunk
changeset: 764259:c4a966dbbdb6
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Apr 14 16:04:12 2011 +0000

description:
comments

diffstat:

 sys/arch/i386/i386/vector.S |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r e207dafb668c -r c4a966dbbdb6 sys/arch/i386/i386/vector.S
--- a/sys/arch/i386/i386/vector.S       Thu Apr 14 16:00:21 2011 +0000
+++ b/sys/arch/i386/i386/vector.S       Thu Apr 14 16:04:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vector.S,v 1.57 2011/03/18 15:18:16 joerg Exp $        */
+/*     $NetBSD: vector.S,v 1.58 2011/04/14 16:04:12 yamt Exp $ */
 
 /*
  * Copyright 2002 (c) Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: vector.S,v 1.57 2011/03/18 15:18:16 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vector.S,v 1.58 2011/04/14 16:04:12 yamt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -435,8 +435,9 @@
        addl    $1,IS_EVCNTLO(%ebp)     /* inc event counter */         ;\
        adcl    $0,IS_EVCNTHI(%ebp)                                     ;\
 1:                                                                     \
-       pushl   %esi                                                    ;\
+       pushl   %esi                    /* if_ppi */                    ;\
        movl    %ebx,CPUVAR(ILEVEL)                                     ;\
+       /* switch stack if necessary, and push a ptr to our intrframe */ \
        IDEPTH_INCR                                                     ;\
        sti                                                             ;\
        movl    IS_HANDLERS(%ebp),%ebx                                  ;\



Home | Main Index | Thread Index | Old Index