Ignore:
Timestamp:
Jul 18, 2013, 6:33:38 PM (11 years ago)
Author:
alain
Message:

Various modifications to support IO Bridge,
and MEMC configuration interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/display/main.c

    r238 r249  
    11#include <stdio.h>
    22
    3 #define NBLOCS 32
     3#define NBLOCS 32   // (128 * 128) / 512
     4
     5unsigned char buf[128*128] __attribute__((aligned(64)));
    46
    57__attribute__((constructor)) int main(void)
    68{
    7     unsigned char buf[128*128];
    89    unsigned int  x;
    910    unsigned int  base = 0;
     
    3031
    3132        // Phase 2 : transfert de buf vers le frame buffer par dma
    32         x = giet_fb_write(0, buf, 128 * 128);
     33        x = giet_fb_sync_write(0, buf, 128 * 128);
    3334        if ( x )
    3435        {
     
    3738        }
    3839
     40/*
    3941        giet_tty_printf("fb_write ok at date : %d\n", giet_proctime() );
    4042
     
    4547            giet_exit();
    4648        }
     49*/
    4750        giet_tty_printf("display completed at date = %d \n", giet_proctime());
    4851
Note: See TracChangeset for help on using the changeset viewer.