Changeset a71c158 in mainline for kernel/arch/ia64/src/ia64.c


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/ia64/src/ia64.c

    r90c8b8d ra71c158  
    160160        }
    161161       
    162         skiout_init();
     162        outdev_t *skidev = skiout_init();
     163        if (skidev)
     164                stdout_wire(skidev);
    163165#endif
    164166       
    165167#ifdef CONFIG_EGA
    166         ega_init(EGA_BASE, EGA_VIDEORAM);
     168        outdev_t *egadev = ega_init(EGA_BASE, EGA_VIDEORAM);
     169        if (egadev)
     170                stdout_wire(egadev);
    167171#endif
    168172       
     
    249253unative_t sys_tls_set(unative_t addr)
    250254{
    251         return 0;
    252 }
    253 
    254 /** Acquire console back for kernel
    255  *
    256  */
    257 void arch_grab_console(void)
    258 {
    259 #ifdef MACHINE_ski
    260         ski_kbd_grab();
    261 #endif
    262 }
    263 
    264 /** Return console to userspace
    265  *
    266  */
    267 void arch_release_console(void)
    268 {
    269 #ifdef MACHINE_ski
    270         ski_kbd_release();
    271 #endif
     255        return 0;
    272256}
    273257
Note: See TracChangeset for help on using the changeset viewer.