freebsd-dev/sys/dev/cfe
Neel Natu 61f7c762de Create the "cfecons" tty directly using tty_makedev(). It is not clear what
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)
2010-01-26 03:42:34 +00:00
..
cfe_api_int.h
cfe_api.c Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM 2010-01-11 17:16:06 +00:00
cfe_api.h
cfe_console.c Create the "cfecons" tty directly using tty_makedev(). It is not clear what 2010-01-26 03:42:34 +00:00
cfe_env.c Merge in new cfe environment passing of kenv for swarm/sibyte boards. 2009-07-04 02:49:17 +00:00
cfe_error.h
cfe_ioctl.h
cfe_resource.c