Changeset 7473807 in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2018-05-11T20:22:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c5159
- Parents:
- ae89656
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
rae89656 r7473807 618 618 } 619 619 620 instance->backbuf = (uint16_t *) malloc(bbsize, 0);620 instance->backbuf = (uint16_t *) malloc(bbsize, FRAME_ATOMIC); 621 621 if (!instance->backbuf) { 622 622 LOG("Unable to allocate backbuffer."); … … 626 626 } 627 627 628 instance->glyphs = (uint8_t *) malloc(glyphsize, 0);628 instance->glyphs = (uint8_t *) malloc(glyphsize, FRAME_ATOMIC); 629 629 if (!instance->glyphs) { 630 630 LOG("Unable to allocate glyphs."); … … 635 635 } 636 636 637 instance->bgscan = malloc(instance->bgscanbytes, 0);637 instance->bgscan = malloc(instance->bgscanbytes, FRAME_ATOMIC); 638 638 if (!instance->bgscan) { 639 639 LOG("Unable to allocate background pixel.");
Note:
See TracChangeset
for help on using the changeset viewer.