Changeset 614 for soft/giet_vm/giet_libs
- Timestamp:
- Jul 15, 2015, 6:15:52 PM (10 years ago)
- Location:
- soft/giet_vm/giet_libs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdio.c
r588 r614 698 698 699 699 /////////////////////////////////////////// 700 void giet_fbf_cma_start( void * buf0, 701 void * buf1, 702 unsigned int length ) 700 void giet_fbf_cma_init_buf( void* buf0_vbase, 701 void* buf1_vbase, 702 void* sts0_vaddr, 703 void* sts1_vaddr ) 704 { 705 if ( sys_call( SYSCALL_FBF_CMA_INIT_BUF, 706 (unsigned int)buf0_vbase, 707 (unsigned int)buf1_vbase, 708 (unsigned int)sts0_vaddr, 709 (unsigned int)sts1_vaddr ) ) giet_exit("error in giet_fbf_cma_init_buf()"); 710 } 711 712 /////////////////////////////////////////// 713 void giet_fbf_cma_start( unsigned int length ) 703 714 { 704 715 if ( sys_call( SYSCALL_FBF_CMA_START, 705 (unsigned int)buf0, 706 (unsigned int)buf1, 707 length, 708 0 ) ) giet_exit("error in giet_fbf_cma_start()"); 716 length, 717 0, 0, 0 ) ) giet_exit("error in giet_fbf_cma_start()"); 709 718 } 710 719 -
soft/giet_vm/giet_libs/stdio.h
r588 r614 27 27 #define SYSCALL_GLOBAL_TASK_ID 0x09 28 28 #define SYSCALL_FBF_CMA_ALLOC 0x0A 29 #define SYSCALL_FBF_CMA_ START0x0B30 #define SYSCALL_FBF_CMA_ DISPLAY0x0C31 #define SYSCALL_FBF_CMA_ STOP0x0D32 #define SYSCALL_ EXIT0x0E33 #define SYSCALL_ PROCS_NUMBER0x0F34 35 #define SYSCALL_ FBF_SYNC_WRITE0x1036 #define SYSCALL_FBF_SYNC_ READ0x1137 #define SYSCALL_ THREAD_ID0x1238 //0x1329 #define SYSCALL_FBF_CMA_INIT_BUF 0x0B 30 #define SYSCALL_FBF_CMA_START 0x0C 31 #define SYSCALL_FBF_CMA_DISPLAY 0x0D 32 #define SYSCALL_FBF_CMA_STOP 0x0E 33 #define SYSCALL_EXIT 0x0F 34 35 #define SYSCALL_PROCS_NUMBER 0x10 36 #define SYSCALL_FBF_SYNC_WRITE 0x11 37 #define SYSCALL_FBF_SYNC_READ 0x12 38 #define SYSCALL_THREAD_ID 0x13 39 39 #define SYSCALL_TIM_ALLOC 0x14 40 40 #define SYSCALL_TIM_START 0x15 … … 228 228 extern void giet_fbf_cma_alloc(); 229 229 230 extern void giet_fbf_cma_start( void* buf0, 231 void* buf1, 232 unsigned int length ); 230 extern void giet_fbf_cma_init_buf( void* buf0_vbase, 231 void* buf1_vbase, 232 void* sts0_vaddr, 233 void* sts1_vaddr ); 234 235 extern void giet_fbf_cma_start( unsigned int length ); 233 236 234 237 extern void giet_fbf_cma_display( unsigned int buffer );
Note: See TracChangeset
for help on using the changeset viewer.