| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171867
|
| |
|
|
|
|
|
|
|
| |
To enable the GDB port of dcons(4), you need to put
dcons_gdb=1
in /boot/loader.conf.
Notes:
svn path=/head/; revision=170537
|
| |
|
|
|
|
|
| |
We would like to keep connection after halt.
Notes:
svn path=/head/; revision=170426
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A change to dconschat(8) will follow so that it can bomb
this address over FireWire to reset a wedged system.
Though this method is just a hack and far from perfection,
it should be useful if you don't want to go machine room
just to reset or to power-cycle a machine without
remote-managed power supply. And much better than doing:
# fwcontrol -m target-eui64
# dd if=/dev/zero of=/dev/fwmem0.2 bs=1m
Notes:
svn path=/head/; revision=170420
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170418
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb
is active. After this change, a dcons connnection over FireWire can survive
bus resets even in kernel debugger.
This means that it is not too late to plug a FireWire cable after a panic
to investigate the problem.
Actually there is a small window(between a jump to kernel from loader and
initialization of dcons_crom) in which no one can take care of a bus reset.
Except that window, firewire console should keep working
from loader to reboot even with a panic and a bus reset.
(as far as you enable LOADER_FIREWIRE_SUPPORT)
Notes:
svn path=/head/; revision=170408
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170043
|
| |
|
|
|
|
|
|
|
| |
for least astonishment.
MFC after: 3 days
Notes:
svn path=/head/; revision=170018
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=170017
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=169972
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specific privilege names to a broad range of privileges. These may
require some future tweaking.
Sponsored by: nCircle Network Security, Inc.
Obtained from: TrustedBSD Project
Discussed on: arch@
Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri,
Alex Lyashkov <umka at sevcity dot net>,
Skip Ford <skip dot ford at verizon dot net>,
Antoine Brodin <antoine dot brodin at laposte dot net>
Notes:
svn path=/head/; revision=164033
|
| |
|
|
| |
Notes:
svn path=/head/; revision=158959
|
| |
|
|
|
|
|
|
| |
Use polling behaviour for gdb_getc() where convenient, this edges us
closer to the console code.
Notes:
svn path=/head/; revision=158950
|
| |
|
|
| |
Notes:
svn path=/head/; revision=154016
|
| |
|
|
|
|
|
| |
custom kernels.
Notes:
svn path=/head/; revision=153110
|
| |
|
|
| |
Notes:
svn path=/head/; revision=151388
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139749
|
| |
|
|
| |
Notes:
svn path=/head/; revision=137013
|
| |
|
|
|
|
|
| |
- Allow read/write access to dcons buffer passed by loader(8).
Notes:
svn path=/head/; revision=136898
|
| |
|
|
| |
Notes:
svn path=/head/; revision=136781
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modes on a tty structure.
Both the ".init" and the current settings are initialized allowing
the function to be used both at attach and open time.
The function takes an argument to decide if echoing should be enabled.
Echoing should not be enabled for regular physical serial ports
unless they are consoles, in which case they should be configured
by ttyconsolemode() instead.
Use the new function throughout.
Notes:
svn path=/head/; revision=136680
|
| |
|
|
|
|
|
| |
Submitted by: keramida
Notes:
svn path=/head/; revision=136498
|
| |
|
|
|
|
|
|
|
| |
- Implement dcons_ischar() and dcons_load_buffer().
- If loader passed a dcons buffer address, keep using it.
(We still need a patch to cheat memory management system.)
Notes:
svn path=/head/; revision=136467
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135799
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135733
|
| |
|
|
|
|
|
|
|
|
|
|
| |
future:
rename ttyopen() -> tty_open() and ttyclose() -> tty_close().
We need the ttyopen() and ttyclose() for the new generic cdevsw
functions for tty devices in order to have consistent naming.
Notes:
svn path=/head/; revision=132226
|
| |
|
|
|
|
|
|
|
|
|
| |
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
Notes:
svn path=/head/; revision=132199
|
| |
|
|
| |
Notes:
svn path=/head/; revision=132092
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Use kdb_alt_break() to handle the alternate break sequence instead
of handcoding it here.
o Remove GDB kluges to make this driver work with the pre-KDB remote
GDB code.
o Call kdb_enter() instead of Debugger().
Note that with this commit the dcons(4) driver cannot be used for
remote debugging anymore. This driver has to use the new GDB debug
port interface instead. Such has not been done yet.
Notes:
svn path=/head/; revision=131912
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
Notes:
svn path=/head/; revision=130640
|
| |
|
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
Notes:
svn path=/head/; revision=130585
|
| |
|
|
|
|
|
|
|
| |
linesw[] directly to using the ttyld...() functions
The ttyld...() functions ar inline so there is no performance hit.
Notes:
svn path=/head/; revision=130077
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129944
|
| |
|
|
|
|
|
|
| |
ttyclose() has been called. It's already been done once by ttyclose,
and probably once by the line-discipline too.
Notes:
svn path=/head/; revision=129937
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129934
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129879
|
| |
|
|
|
|
|
|
|
|
|
| |
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
Notes:
svn path=/head/; revision=126080
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add missing D_TTY flags to various drivers.
Complete asserts that dev_t's passed to ttyread(), ttywrite(),
ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty
pointer.
Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default
cdevsw methods for D_TTY drivers and remove the explicit initializations
in various drivers cdevsw structures.
Notes:
svn path=/head/; revision=126078
|
| |
|
|
|
|
|
|
|
|
| |
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
Notes:
svn path=/head/; revision=126076
|
| |
|
|
|
|
|
|
|
| |
- Force dcons to be the high-level console after dcons_crom
has been attached.
- Add a tunable to be the high-level console.
Notes:
svn path=/head/; revision=125862
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122310
|
|
|
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons
Tested with: i386, i386-PAE, and sparc64.
Notes:
svn path=/head/; revision=121468
|