Changeset a71c158 in mainline for kernel/generic/include/console


Ignore:
Timestamp:
2009-08-21T14:12:45Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e6dce8, b50b5af2, e5792d1
Parents:
90c8b8d
Message:

kernel output devices now suport multiple instances (except ski and sgcn, which respect the same interface, but behave as singletons)
if more than one output device gets initialized, the output is cloned to all of them
get rid of arch_grab_console() and arch_release_console() (output devices can implement a generic "redraw" method, input devices respect the "silent" global variable)
related cleanups and modifications

Location:
kernel/generic/include/console
Files:
2 edited

Legend:

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

    r90c8b8d ra71c158  
    7474        /** Write character to output. */
    7575        void (* write)(struct outdev *, wchar_t, bool);
     76       
     77        /** Redraw any previously cached characters. */
     78        void (* redraw)(struct outdev *);
    7679} outdev_operations_t;
    7780
  • kernel/generic/include/console/console.h

    r90c8b8d ra71c158  
    6060extern unative_t sys_debug_disable_console(void);
    6161
    62 extern void arch_grab_console(void);
    63 extern void arch_release_console(void);
    64 
    6562#endif /* KERN_CONSOLE_H_ */
    6663
Note: See TracChangeset for help on using the changeset viewer.