Changeset 11b285d in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2018-05-13T15:19:32Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad896eb
- Parents:
- 13db2044
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 14:59:01)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 15:19:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
r13db2044 r11b285d 571 571 } 572 572 573 outdev_t *fbdev = malloc(sizeof(outdev_t) , FRAME_ATOMIC);573 outdev_t *fbdev = malloc(sizeof(outdev_t)); 574 574 if (!fbdev) 575 575 return NULL; 576 576 577 fb_instance_t *instance = malloc(sizeof(fb_instance_t) , FRAME_ATOMIC);577 fb_instance_t *instance = malloc(sizeof(fb_instance_t)); 578 578 if (!instance) { 579 579 free(fbdev); … … 618 618 } 619 619 620 instance->backbuf = (uint16_t *) malloc(bbsize , FRAME_ATOMIC);620 instance->backbuf = (uint16_t *) malloc(bbsize); 621 621 if (!instance->backbuf) { 622 622 LOG("Unable to allocate backbuffer."); … … 626 626 } 627 627 628 instance->glyphs = (uint8_t *) malloc(glyphsize , FRAME_ATOMIC);628 instance->glyphs = (uint8_t *) malloc(glyphsize); 629 629 if (!instance->glyphs) { 630 630 LOG("Unable to allocate glyphs."); … … 635 635 } 636 636 637 instance->bgscan = malloc(instance->bgscanbytes , FRAME_ATOMIC);637 instance->bgscan = malloc(instance->bgscanbytes); 638 638 if (!instance->bgscan) { 639 639 LOG("Unable to allocate background pixel.");
Note:
See TracChangeset
for help on using the changeset viewer.