<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cfe, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-05-13T17:04:46Z</updated>
<entry>
<title>MFC r228631: kern cons: introduce infrastructure for console grabbing by</title>
<updated>2012-05-13T17:04:46Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-05-13T17:04:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33a662c963044ea3fcc5293a131e9da2abe506fe'/>
<id>urn:sha1:33a662c963044ea3fcc5293a131e9da2abe506fe</id>
<content type='text'>
kernel
</content>
</entry>
<entry>
<title>Follow up to r225203 refining break-to-debugger run-time configuration</title>
<updated>2011-08-27T14:24:27Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-27T14:24:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5a0927394502ac7d7d0383c523490eb35f773dc'/>
<id>urn:sha1:e5a0927394502ac7d7d0383c523490eb35f773dc</id>
<content type='text'>
improvements:

(1) Implement new model in previously missed at91 UART driver
(2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h
    to opt_kdb.h (spotted by np)
(3) Garbage collect now-unused opt_comconsole.h

MFC after:	3 weeks
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>Attempt to make break-to-debugger and alternative break-to-debugger more</title>
<updated>2011-08-26T21:46:36Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-26T21:46:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cf75455890c103c9a66cb791e88998aafd4f8ce'/>
<id>urn:sha1:4cf75455890c103c9a66cb791e88998aafd4f8ce</id>
<content type='text'>
accessible:

(1) Always compile in support for breaking into the debugger if options
    KDB is present in the kernel.

(2) Disable both by default, but allow them to be enabled via tunables
    and sysctls debug.kdb.break_to_debugger and
    debug.kdb.alt_break_to_debugger.

(3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER continue
    to behave as before -- only now instead of compiling in
    break-to-debugger support, they change the default values of the
    above sysctls to enable those features by default.  Current kernel
    configurations should, therefore, continue to behave as expected.

(4) Migrate alternative break-to-debugger state machine logic out of
    individual device drivers into centralised KDB code.  This has a
    number of upsides, but also one downside: it's now tricky to release
    sio spin locks when entering the debugger, so we don't.  However,
    similar logic does not exist in other device drivers, including uart.

(5) dcons requires some special handling; unlike other console types, it
    allows overriding KDB's own debugger selection, so we need a new
    interface to KDB to allow that to work.

GENERIC kernels in -CURRENT will now support break-to-debugger as long as
appropriate boot/run-time options are set, which should improve the
debuggability of BETA kernels significantly.

MFC after:	3 weeks
Reviewed by:	kib, nwhitehorn
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>Start using the 'init_static_kenv()' API provided by r198561 to initialize</title>
<updated>2010-08-11T02:13:50Z</updated>
<author>
<name>Neel Natu</name>
<email>neel@FreeBSD.org</email>
</author>
<published>2010-08-11T02:13:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f7eb1ff5481157ff39edbbac81c60f7dd7e4542'/>
<id>urn:sha1:5f7eb1ff5481157ff39edbbac81c60f7dd7e4542</id>
<content type='text'>
CFE environment variables.
</content>
</entry>
<entry>
<title>Create the "cfecons" tty directly using tty_makedev(). It is not clear what</title>
<updated>2010-01-26T03:42:34Z</updated>
<author>
<name>Neel Natu</name>
<email>neel@FreeBSD.org</email>
</author>
<published>2010-01-26T03:42:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61f7c762de49f71e479b9d7c019f331f6b39d06c'/>
<id>urn:sha1:61f7c762de49f71e479b9d7c019f331f6b39d06c</id>
<content type='text'>
the intention of having two ttys pointing to the same cfe console device was.

Also we were not initializing the output[] array passed in as input to
tty_makedev() so one name of the ttys was garbage.

Fix the code that calls cfe_write() to deal with the case where only a partial
buffer is written out.

cfe_cngetc() needs to return if there is no character available as input.
If we don't do this then the cfe_timeout() function will spin forever
because cfe_cngetc() will only ever return if there is valid input.

Approved by: imp (mentor)
</content>
</entry>
<entry>
<title>Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM</title>
<updated>2010-01-11T17:16:06Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2010-01-11T17:16:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3274f529db99cc22c9fd4e788132644fce3960ea'/>
<id>urn:sha1:3274f529db99cc22c9fd4e788132644fce3960ea</id>
<content type='text'>
and not CFE_CMD_ENV_SET.

Submitted by:	neel@
</content>
</entry>
<entry>
<title>Merge from projects/mips to head by hand:</title>
<updated>2010-01-11T03:43:18Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2010-01-11T03:43:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05ace0e8706ec4cd2e49b87d4eab46441e80ac65'/>
<id>urn:sha1:05ace0e8706ec4cd2e49b87d4eab46441e80ac65</id>
<content type='text'>
copy over cfe_env.c...
</content>
</entry>
<entry>
<title>Fix various conolse issues with cfe after MPSAFE tty.</title>
<updated>2009-07-04T02:50:33Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-07-04T02:50:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c72a141e817e604e2e616f5f4c3eed38194b61d1'/>
<id>urn:sha1:c72a141e817e604e2e616f5f4c3eed38194b61d1</id>
<content type='text'>
Fix a bug with getting env on cfe...
</content>
</entry>
<entry>
<title>Merge in new cfe environment passing of kenv for swarm/sibyte boards.</title>
<updated>2009-07-04T02:49:17Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-07-04T02:49:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=579c0614d5b0cbcda8d43463df30a1b209410b1f'/>
<id>urn:sha1:579c0614d5b0cbcda8d43463df30a1b209410b1f</id>
<content type='text'>
Submitted by:	Neelkanth Natu
</content>
</entry>
<entry>
<title>Last minute TTY API change: remove mutex argument from tty_alloc().</title>
<updated>2009-05-29T06:41:23Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-05-29T06:41:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5e30cc02b9bee4c53457d1bc4184b256ce1a569'/>
<id>urn:sha1:c5e30cc02b9bee4c53457d1bc4184b256ce1a569</id>
<content type='text'>
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.

The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
</content>
</entry>
</feed>
