From owner-freebsd-arch Sat Mar 17 11:25:11 2001 Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 06AA337B718; Sat, 17 Mar 2001 11:25:09 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2HJP4x95161; Sat, 17 Mar 2001 11:25:04 -0800 (PST) (envelope-from dillon) Date: Sat, 17 Mar 2001 11:25:04 -0800 (PST) From: Matt Dillon Message-Id: <200103171925.f2HJP4x95161@earth.backplane.com> To: "Rodney W. Grimes" Cc: jhb@FreeBSD.ORG (John Baldwin), arch@FreeBSD.ORG Subject: Re: Proposal for the CPU interrupt API References: <200103170422.UAA55781@gndrsh.dnsmgr.net> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :and by otherwise I included comments in code. Take this one for example: :>From sys/i386/isa/if_sr.c : /* : * XXX Disable all interrupts for now. I think if you are using the : * dmac you don't use these interrupts. : */ : SRC_PUT8(hc->sca_base, msci->ie0, 0); : SRC_PUT8(hc->sca_base, msci->ie1, 0x0C); : :writting 0x0C to msci->ie1 does NOT disable all interrupts!!! Well, those XXX's seem to indicate that the author wasn't so sure about what he was doing either. Quite a useful comment, I think! % fgrep XXX vm/* | wc -l 108 -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message