Jason Wessel
ada64e4c98
kgdboc,keyboard: Keyboard driver for kdb with kgdb
...
This patch adds in the kdb PS/2 keyboard driver. This was mostly a
direct port from the original kdb where I cleaned up the code against
checkpatch.pl and added the glue to stitch it into kgdb.
This patch also enables early kdb debug via kgdbwait and the keyboard.
All the access to configure kdb using either a serial console or the
keyboard is done via kgdboc.
If you want to use only the keyboard and want to break in early you
would add to your kernel command arguments:
kgdboc=kbd kgdbwait
If you wanted serial and or the keyboard access you could use:
kgdboc=kbd,ttyS0
You can also configure kgdboc as a kernel module or at run time with
the sysfs where you can activate and deactivate kgdb.
Turn it on:
echo kbd,ttyS0 > /sys/module/kgdboc/parameters/kgdboc
Turn it off:
echo "" > /sys/module/kgdboc/parameters/kgdboc
Signed-off-by: Jason Wessel <[email protected] >
Reviewed-by: Dmitry Torokhov <[email protected] >
2010-05-20 21:04:24 -05:00
..
accessibility
acpi
Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
2010-05-20 09:45:38 -07:00
amba
ata
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
2010-05-20 09:27:37 -07:00
atm
auxdisplay
base
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
2010-05-20 09:03:55 -07:00
block
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
bluetooth
cdrom
char
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2010-05-20 10:33:06 -07:00
clocksource
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2010-05-19 17:10:57 -07:00
connector
cpufreq
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2010-05-18 08:49:13 -07:00
cpuidle
crypto
dca
dio
dma
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
2010-05-19 11:36:03 -07:00
edac
eisa
firewire
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
firmware
gpio
Merge branch 'topic/asoc' into for-linus
2010-05-20 12:00:43 +02:00
gpu
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
hid
hwmon
i2c
Merge branch 'for-linus/i2c-2635' of git://git.fluff.org/bjdooks/linux
2010-05-20 09:41:17 -07:00
ide
idle
ieee1394
ieee802154
infiniband
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2010-05-20 10:33:06 -07:00
isdn
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
leds
lguest
macintosh
mca
md
media
Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
2010-05-20 09:37:45 -07:00
memstick
message
mfd
Merge branch 'topic/asoc' into for-linus
2010-05-20 12:00:43 +02:00
misc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
mmc
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
2010-05-19 11:37:22 -07:00
mtd
net
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
nubus
of
oprofile
parisc
parport
pci
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
pcmcia
Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
2010-05-20 09:09:46 -07:00
platform
pnp
power
pps
ps3
rapidio
regulator
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
rtc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
s390
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
sbus
scsi
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
2010-05-20 09:27:37 -07:00
serial
kgdboc,keyboard: Keyboard driver for kdb with kgdb
2010-05-20 21:04:24 -05:00
sfi
sh
sn
spi
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
ssb
staging
Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
2010-05-20 09:37:45 -07:00
tc
telephony
thermal
uio
usb
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
uwb
vhost
video
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-05-20 09:20:59 -07:00
virtio
vlynq
vlynq: make whole Kconfig-menu dependant on architecture
2010-05-14 16:59:54 +02:00
w1
watchdog
xen
zorro
m68k: amiga - Zorro host bridge platform device conversion
2010-05-17 21:37:42 +02:00
Kconfig
Makefile