Ignore:
Timestamp:
2009-08-21T14:12:45Z (15 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/scr.c

    r90c8b8d ra71c158  
    4040#include <genarch/fb/fb.h>
    4141#include <genarch/fb/visuals.h>
     42#include <console/chardev.h>
     43#include <console/console.h>
    4244#include <arch/types.h>
    4345#include <string.h>
     
    238240                .visual = visual,
    239241        };
    240         fb_init(&props);
     242       
     243        outdev_t *fbdev = fb_init(&props);
     244        if (fbdev)
     245                stdout_wire(fbdev);
    241246}
    242247
    243 void scr_redraw(void)
    244 {
    245         fb_redraw();
    246 }
    247 
    248248/** @}
    249249 */
Note: See TracChangeset for help on using the changeset viewer.