apps/odroid_vm/components/helloworld/linux_userlevel/build/vchan_code/sel4_vchan_testsuite.c
static int vchantests_vm_burst_verify(int key, int *buf, int sz) {
    int i;
    for(i = 0; i < sz; i++) {
        if(buf[i] != (i + key)) {
            TERROR("vm-burst: buffer mismatch :expected at %d = %x|actual = %x: \n", i, i + key, buf[i]);
            return -1;
        }
    }
    return 0;
}
/*
    vchantests_vm_burst_verify:
		Verify that a given chunk of data is correct
*/
Verify that a given chunk of data is correct
Verify that a given chunk of data is correct
static int vchantests_vm_burst_verify(int key, int *buf, int sz) {
    int i;
    for(i = 0; i < sz; i++) {
        if(buf[i] != (i + key)) {
            TERROR("vm-burst: buffer mismatch :expected at %d = %x|actual = %x: \n", i, i + key, buf[i]);
            return -1;
        }
    }
    return 0;
}
static int vchantests_vm_burst_verify ( int key , int * buf , int sz ) { int i ; for ( i = 0 ; i < sz ; i ++ ) { if ( buf [ i ] != ( i + key ) ) { TERROR ( " \n " , i , i + key , buf [ i ] ) ; return -1 ; } } return 0 ; }
vchantests_vm_burst_verify:
Verify that a given chunk of data is correct
vchantests_vm_burst_verify : Verify that a given chunk of data is correct