Changeset 666773c in mainline for kernel/arch/ia64/src/drivers/ega.c


Ignore:
Timestamp:
2008-12-31T15:33:29Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9805cde
Parents:
d8c0dc5
Message:

Humanitarian facelift for ia64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/drivers/ega.c

    rd8c0dc5 r666773c  
    8383        stdout = &ega_console;
    8484
    85 
    8685        ega_parea.pbase = VIDEORAM & 0xffffffff;
    8786        ega_parea.vbase = (uintptr_t) videoram;
     
    9089        ddi_parea_register(&ega_parea);
    9190
    92        
    9391        sysinfo_set_item_val("fb", NULL, true);
    9492        sysinfo_set_item_val("fb.kind", NULL, 2);
     
    9694        sysinfo_set_item_val("fb.height", NULL, ROWS);
    9795        sysinfo_set_item_val("fb.blinking", NULL, true);
    98         sysinfo_set_item_val("fb.address.physical", NULL, VIDEORAM & 0xffffffff);
     96        sysinfo_set_item_val("fb.address.physical", NULL,
     97            VIDEORAM & 0xffffffff);
    9998       
    10099#ifndef CONFIG_FB
     
    117116                return;
    118117
    119         memmove((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);
     118        memmove((void *) videoram, (void *) (videoram + ROW * 2),
     119            (SCREEN - ROW) * 2);
    120120        _memsetw(videoram + (SCREEN - ROW) * 2, ROW, 0x0720);
    121121        ega_cursor = ega_cursor - ROW;
Note: See TracChangeset for help on using the changeset viewer.