kgdboc.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) kgdboc.c (e4dca7b7aa08b22893c45485d222b5807c1375ae)
1/*
2 * Based on the same principle as kgdboe using the NETPOLL api, this
3 * driver uses a console polling api to implement a gdb serial inteface
4 * which is multiplexed on a console port.
5 *
6 * Maintainer: Jason Wessel <jason.wessel@windriver.com>
7 *
8 * 2007-2008 (c) Jason Wessel - Wind River Systems, Inc.

--- 231 unchanged lines hidden (view full) ---

240static void kgdboc_put_char(u8 chr)
241{
242 if (!kgdb_tty_driver)
243 return;
244 kgdb_tty_driver->ops->poll_put_char(kgdb_tty_driver,
245 kgdb_tty_line, chr);
246}
247
1/*
2 * Based on the same principle as kgdboe using the NETPOLL api, this
3 * driver uses a console polling api to implement a gdb serial inteface
4 * which is multiplexed on a console port.
5 *
6 * Maintainer: Jason Wessel <jason.wessel@windriver.com>
7 *
8 * 2007-2008 (c) Jason Wessel - Wind River Systems, Inc.

--- 231 unchanged lines hidden (view full) ---

240static void kgdboc_put_char(u8 chr)
241{
242 if (!kgdb_tty_driver)
243 return;
244 kgdb_tty_driver->ops->poll_put_char(kgdb_tty_driver,
245 kgdb_tty_line, chr);
246}
247
248static int param_set_kgdboc_var(const char *kmessage, struct kernel_param *kp)
248static int param_set_kgdboc_var(const char *kmessage,
249 const struct kernel_param *kp)
249{
250 int len = strlen(kmessage);
251
252 if (len >= MAX_CONFIG_LEN) {
253 printk(KERN_ERR "kgdboc: config string too long\n");
254 return -ENOSPC;
255 }
256

--- 83 unchanged lines hidden ---
250{
251 int len = strlen(kmessage);
252
253 if (len >= MAX_CONFIG_LEN) {
254 printk(KERN_ERR "kgdboc: config string too long\n");
255 return -ENOSPC;
256 }
257

--- 83 unchanged lines hidden ---