Ignore:
Timestamp:
Aug 3, 2015, 7:07:03 PM (9 years ago)
Author:
guerin
Message:

remove almalloc implementation

It is in fact useless because malloc already returns aligned addresses.
Should have read the doc first ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/raycast/disp.c

    r685 r686  
    210210
    211211    // Allocate framebuffer
    212     buf[0] = almalloc(64, FBUF_X_SIZE * FBUF_Y_SIZE);
    213     buf[1] = almalloc(64, FBUF_X_SIZE * FBUF_Y_SIZE);
    214     sts[0] = almalloc(64, 64);
    215     sts[1] = almalloc(64, 64);
     212    buf[0] = malloc(FBUF_X_SIZE * FBUF_Y_SIZE);
     213    buf[1] = malloc(FBUF_X_SIZE * FBUF_Y_SIZE);
     214    sts[0] = malloc(64);
     215    sts[1] = malloc(64);
    216216
    217217    // Initialize framebuffer
Note: See TracChangeset for help on using the changeset viewer.