Changeset f651e80 in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2009-01-08T12:07:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
rc571f42 rf651e80 457 457 break; 458 458 default: 459 panic("Unsupported visual. \n");459 panic("Unsupported visual."); 460 460 } 461 461 … … 489 489 backbuf = (uint8_t *) malloc(bbsize, 0); 490 490 if (!backbuf) 491 panic("Unable to allocate backbuffer. \n");491 panic("Unable to allocate backbuffer."); 492 492 493 493 glyphs = (uint8_t *) malloc(glyphsize, 0); 494 494 if (!glyphs) 495 panic("Unable to allocate glyphs. \n");495 panic("Unable to allocate glyphs."); 496 496 497 497 bgscan = malloc(bgscanbytes, 0); 498 498 if (!bgscan) 499 panic("Unable to allocate background pixel. \n");499 panic("Unable to allocate background pixel."); 500 500 501 501 memsetb(backbuf, bbsize, 0);
Note:
See TracChangeset
for help on using the changeset viewer.