Changeset 18093eaf in mainline


Ignore:
Timestamp:
2006-05-12T14:56:48Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f581365
Parents:
5f0c664
Message:

Fix number of frames allocated for VESA frame buffer in the singular
case when the frame buffer size is below FRAME_SIZE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/drivers/vesa.c

    r5f0c664 r18093eaf  
    6262        __u32 x = vesa_scanline*vesa_height;
    6363        if (x <= FRAME_SIZE)
    64                 return 1;
     64                return 0;
    6565
    6666        return (fnzb32(x - 1) + 1) - FRAME_WIDTH;
Note: See TracChangeset for help on using the changeset viewer.