Subversion Repositories HelenOS

Rev

Rev 2216 | Rev 3069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2216 Rev 2745
Line 86... Line 86...
86
           
86
           
87
            if (!sh_quiet)
87
            if (!sh_quiet)
88
                printf("Thread #%llu (cpu%d): Deallocating ... \n", THREAD->tid, CPU->id);
88
                printf("Thread #%llu (cpu%d): Deallocating ... \n", THREAD->tid, CPU->id);
89
           
89
           
90
            for (i = 0; i < allocated; i++) {
90
            for (i = 0; i < allocated; i++) {
91
                for (k = 0; k <= ((FRAME_SIZE << order) - 1); k++) {
91
                for (k = 0; k <= (((index_t) FRAME_SIZE << order) - 1); k++) {
92
                    if (((uint8_t *) frames[i])[k] != val) {
92
                    if (((uint8_t *) frames[i])[k] != val) {
93
                        if (!sh_quiet)
93
                        if (!sh_quiet)
94
                            printf("Thread #%llu (cpu%d): Unexpected data (%d) in block %p offset %#zx\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k);
94
                            printf("Thread #%llu (cpu%d): Unexpected data (%d) in block %p offset %#zx\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k);
95
                        atomic_inc(&thread_fail);
95
                        atomic_inc(&thread_fail);
96
                        goto cleanup;
96
                        goto cleanup;