Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 1998 22:31:02 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        imp@village.org (Warner Losh)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: How could this work?
Message-ID:  <199812072031.WAA00262@ceia.nordier.com>
In-Reply-To: <199812072007.NAA05124@harmony.village.org> from Warner Losh at "Dec 7, 98 01:07:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
 
> I was looking at the libretto confin program that was just ported to
> FreeBSD via the ports mechanism.  It has code that looks like:
> 
> 	movl	8(%ebp),%eax
> 	movl	12(%ebp),%ebx
> 	movl	16(%ebp),%ecx
> 	inb	$0x0b2,%al		/* invoke SMI */
> 
> How the heck can that work?  I'm confused...

IIRC, reads and writes involving port 0xb2 are done for their
side-effects (to cause an SMI, put CPU into sleep mode, etc).

-- 
Robert Nordier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812072031.WAA00262>