Changeset 249 for soft/giet_vm/display/main.c
- Timestamp:
- Jul 18, 2013, 6:33:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/display/main.c
r238 r249 1 1 #include <stdio.h> 2 2 3 #define NBLOCS 32 3 #define NBLOCS 32 // (128 * 128) / 512 4 5 unsigned char buf[128*128] __attribute__((aligned(64))); 4 6 5 7 __attribute__((constructor)) int main(void) 6 8 { 7 unsigned char buf[128*128];8 9 unsigned int x; 9 10 unsigned int base = 0; … … 30 31 31 32 // 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); 33 34 if ( x ) 34 35 { … … 37 38 } 38 39 40 /* 39 41 giet_tty_printf("fb_write ok at date : %d\n", giet_proctime() ); 40 42 … … 45 47 giet_exit(); 46 48 } 49 */ 47 50 giet_tty_printf("display completed at date = %d \n", giet_proctime()); 48 51
Note: See TracChangeset
for help on using the changeset viewer.