* Peter Stuge <[EMAIL PROTECTED]> [070224 17:32]:
> + unsigned port = dev >> 8;
>
> How does this work? device_t is a pointer to a struct elsewhere:
>
> + outb(0x55, dev->path.u.pnp.port);
In v2 we have this little magic trick that allows you to use device_t
both in romcc and gcc code. For romcc, it is an int, for gcc it is a
struct.
In v3 we don't have this problem anymore ;-)
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED] • http://www.coresystems.de/
--
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios