Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 1997 14:13:45 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, grog@lemis.com
Cc:        freebsd-current@FreeBSD.ORG, skynyrd@opus.cts.cwu.edu
Subject:   Re: Remote gdb (was: no boot: config -g and options DDB)
Message-ID:  <199712280313.OAA03628@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Just like fopen() doesn't set the speed.  It knows nothing of
>> devices.
>
>Yes, but fwrite() doesn't go on and talk to the device registers.  ddb

Sure it does, if the output stream is a device.

>does, without first setting them.

Same.  It calls the device driver which writes to the registers.

>ddb doesn't use the device driver.  It talks directly to the device
>with functions like:
>
>void
>siocnputc(dev, c)

These functions are part of the device driver.

Bruce



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