Changeset 724 for soft/giet_vm/applications/gameoflife/gameoflife.c
- Timestamp:
- Nov 21, 2015, 2:25:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/gameoflife/gameoflife.c
r721 r724 260 260 giet_fbf_alloc(); 261 261 262 // get a Chained Buffer DMA channel 263 giet_fbf_cma_alloc(); 264 265 // initializes the source and destination buffers 266 giet_fbf_cma_init_buf( &display[0][0][0] , 267 &display[1][0][0] , 268 status0 , 269 status1 ); 262 // get a CMA channel for two user buffers 263 giet_fbf_cma_alloc( 2 ); 264 265 // register the user buffers 266 giet_fbf_cma_init_buf( 0 , &display[0][0][0] , status0 ); 267 giet_fbf_cma_init_buf( 1 , &display[1][0][0] , status1 ); 270 268 271 269 // activates CMA channel 272 giet_fbf_cma_start( height * width);270 giet_fbf_cma_start(); 273 271 274 272 // initializes distributed heap
Note: See TracChangeset
for help on using the changeset viewer.