Changeset 3ad953c in mainline for kernel/generic/include


Ignore:
Timestamp:
2008-12-30T19:55:10Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f58321c4
Parents:
6b21292
Message:

send notification to uspace console when switching from kernel console

Location:
kernel/generic/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/console/kconsole.h

    r6b21292 r3ad953c  
    3838#include <adt/list.h>
    3939#include <synch/spinlock.h>
     40#include <ipc/irq.h>
    4041
    4142#define MAX_CMDLINE     256
     
    8485} cmd_info_t;
    8586
     87extern bool kconsole_notify;
     88extern irq_t kconsole_irq;
     89
    8690SPINLOCK_EXTERN(cmd_lock);
    8791extern link_t cmd_head;
    8892
    8993extern void kconsole_init(void);
     94extern void kconsole_notify_init(void);
    9095extern void kconsole(char *prompt, char *msg, bool kcon);
    9196extern void kconsole_thread(void *data);
  • kernel/generic/include/ipc/irq.h

    r6b21292 r3ad953c  
    5454 * ipc_irq_send_msg_m(), where m is the number of payload arguments.
    5555 */
     56#define ipc_irq_send_msg_0(irq) \
     57    ipc_irq_send_msg((irq), 0, 0, 0, 0, 0)
    5658#define ipc_irq_send_msg_1(irq, a1) \
    5759    ipc_irq_send_msg((irq), (a1), 0, 0, 0, 0)
Note: See TracChangeset for help on using the changeset viewer.