Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Pass] strlen("abc") => 0x3
- [Pass] strlen("qwertyuiop") => 0xa
- [Pass] strlen("") => 0x0
- [Pass] strcpy(msg, "hi there") => 0x1ad108
- [Pass] msg => 'hi there'
- [Pass] snprintf(a, sizeof(a), "foo") => 0x3
- [Pass] snprintf(b, sizeof(b), "foo") => 0x3
- [Pass] strcmp(a, b) => 0x0
- [Pass] snprintf(a, sizeof(a), "bar") => 0x3
- [Pass] snprintf(b, sizeof(b), "baz") => 0x3
- [Pass] strcmp(a, b) => 0xfffffff8
- [Pass] snprintf(a, sizeof(a), "Display") => 0x7
- [Pass] snprintf(b, sizeof(b), "Defishing") => 0x9
- [Pass] strcmp(a, b) => 0x4
- [Pass] snprintf(buf, 3, "%d", 1234) => 0x2
- [Pass] buf => '12'
- [Pass] memcpy(foo, bar, 6) => 0x1ad0a0
- [Pass] foo => 'asdfghuiop'
- [Pass] memset(bar, '*', 5) => 0x1ad080
- [Pass] bar => '*****hjkl;'
- bzero32(bar + 5, 5)
- [Pass] bar => '****'
- t0 = *(uint32_t*)0xC0242014 => 0x2e6c6
- msleep(250)
- t1 = *(uint32_t*)0xC0242014 => 0x6d63c
- [Pass] ABS(mod(t1-t0, 1048576)/1000 - 250) => 0x7
- LoadCalendarFromRTC( &now )
- s0 = now.tm_sec => 0x21
- Date/time: 2013/06/15 13:59:33
- msleep(1500)
- LoadCalendarFromRTC( &now )
- s1 = now.tm_sec => 0x22
- [Pass] mod(s1-s0, 60) => 0x1
- [Pass] mod(s1-s0, 60) => 0x1
- m0 = MALLOC_FREE_MEMORY => 0x4ab60
- [Pass] p = malloc(50*1024) => 0xf4d40
- [Pass] CACHEABLE(p) => 0xf4d40
- m1 = MALLOC_FREE_MEMORY => 0x3e350
- free(p)
- m2 = MALLOC_FREE_MEMORY => 0x4ab60
- [Pass] ABS((m0-m1) - 50*1024) => 0x10
- [Pass] ABS(m0-m2) => 0x0
- m0 = GetFreeMemForAllocateMemory() => 0x34648c
- [Pass] p = AllocateMemory(256*1024) => 0x848a30
- [Pass] CACHEABLE(p) => 0x848a30
- m1 = GetFreeMemForAllocateMemory() => 0x306480
- FreeMemory(p)
- m2 = GetFreeMemForAllocateMemory() => 0x34648c
- [Pass] ABS((m0-m1) - 256*1024) => 0xc
- [Pass] ABS(m0-m2) => 0x0
- m01 = MALLOC_FREE_MEMORY => 0x4ab60
- m02 = GetFreeMemForAllocateMemory() => 0x34648c
- [Pass] p = alloc_dma_memory(256*1024) => 0x40848a70
- [Pass] UNCACHEABLE(p) => 0x40848a70
- [Pass] CACHEABLE(p) => 0x848a70
- [Pass] UNCACHEABLE(CACHEABLE(p)) => 0x40848a70
- free_dma_memory(p)
- [Pass] p = (void*)shoot_malloc(24*1024*1024) => 0x4a000068
- [Pass] UNCACHEABLE(p) => 0x4a000068
- shoot_free(p)
- m11 = MALLOC_FREE_MEMORY => 0x4ab60
- m12 = GetFreeMemForAllocateMemory() => 0x34648c
- [Pass] ABS(m01-m11) => 0x0
- [Pass] ABS(m02-m12) => 0x0
- [Pass] suite = shoot_malloc_suite_contig(24*1024*1024) => 0xf4c18
- [Pass] suite->signature => 'MemSuite'
- [Pass] suite->num_chunks => 0x1
- [Pass] suite->size => 0x1800000
- [Pass] chunk = GetFirstChunkFromSuite(suite) => 0xf4c40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] chunk->size => 0x1800000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4a000064
- [Pass] UNCACHEABLE(p) => 0x4a000064
- shoot_free_suite(suite); suite = 0; chunk = 0;
- [Pass] suite = shoot_malloc_suite_contig(0) => 0xf4c18
- [Pass] suite->signature => 'MemSuite'
- [Pass] suite->num_chunks => 0x1
- [Pass] suite->size => 0x20c0000
- [Pass] chunk = GetFirstChunkFromSuite(suite) => 0xf4c40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] chunk->size => 0x20c0000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4ddc0064
- [Pass] UNCACHEABLE(p) => 0x4ddc0064
- shoot_free_suite(suite); suite = 0; chunk = 0;
- [Pass] suite = shoot_malloc_suite(64*1024*1024) => 0xf4c18
- [Pass] suite->signature => 'MemSuite'
- [Pass] suite->num_chunks => 0x7
- [Pass] suite->size => 0x4000000
- [Pass] chunk = GetFirstChunkFromSuite(suite) => 0xf4c40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x19bc000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4a000064
- [Pass] UNCACHEABLE(p) => 0x4a000064
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4ca0
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x37b8000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x42200064
- [Pass] UNCACHEABLE(p) => 0x42200064
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4d40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3bb8000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x419ff0a4
- [Pass] UNCACHEABLE(p) => 0x419ff0a4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4d78
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3c90000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x49f240e4
- [Pass] UNCACHEABLE(p) => 0x49f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4db0
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3d68000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x47f240e4
- [Pass] UNCACHEABLE(p) => 0x47f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4de8
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3e40000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x45f240e4
- [Pass] UNCACHEABLE(p) => 0x45f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4e20
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x4000000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4ddc0064
- [Pass] UNCACHEABLE(p) => 0x4ddc0064
- chunk = GetNextMemoryChunk(suite, chunk) => 0x0
- [Pass] total => 0x4000000
- shoot_free_suite(suite); suite = 0; chunk = 0;
- [Pass] suite = shoot_malloc_suite(0) => 0xf4c18
- [Pass] suite->signature => 'MemSuite'
- [Pass] suite->num_chunks => 0x7
- [Pass] suite->size => 0x5f00000
- [Pass] chunk = GetFirstChunkFromSuite(suite) => 0xf4c40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x19bc000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4a000064
- [Pass] UNCACHEABLE(p) => 0x4a000064
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4ca0
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x37b8000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x42200064
- [Pass] UNCACHEABLE(p) => 0x42200064
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4d40
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3bb8000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x419ff0a4
- [Pass] UNCACHEABLE(p) => 0x419ff0a4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4d78
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3c90000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x49f240e4
- [Pass] UNCACHEABLE(p) => 0x49f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4db0
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3d68000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x47f240e4
- [Pass] UNCACHEABLE(p) => 0x47f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4de8
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x3e40000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x45f240e4
- [Pass] UNCACHEABLE(p) => 0x45f240e4
- chunk = GetNextMemoryChunk(suite, chunk) => 0xf4e20
- [Pass] chunk->signature => 'MemChunk'
- [Pass] total += chunk->size => 0x5f00000
- [Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4ddc0064
- [Pass] UNCACHEABLE(p) => 0x4ddc0064
- chunk = GetNextMemoryChunk(suite, chunk) => 0x0
- [Pass] total => 0x5f00000
- shoot_free_suite(suite); suite = 0; chunk = 0;
- EngDrvOut(0xC0F14400, 0x1234)
- [Pass] shamem_read(0xC0F14400) => 0x1234
- call("TurnOnDisplay")
- [Pass] DISPLAY_IS_ON => 0x1
- call("TurnOffDisplay")
- [FAIL] DISPLAY_IS_ON => 0x1
- call("TurnOnDisplay")
- [Pass] DISPLAY_IS_ON => 0x1
- SetGUIRequestMode(1); msleep(1000);
- [Pass] CURRENT_DIALOG_MAYBE => 0x1
- SetGUIRequestMode(2); msleep(1000);
- [Pass] CURRENT_DIALOG_MAYBE => 0x2
- SetGUIRequestMode(0); msleep(1000);
- [Pass] CURRENT_DIALOG_MAYBE => 0x0
- [Pass] display_idle() => 0x1
- GUI_Control(BGMT_PLAY, 0, 0, 0); msleep(500);
- [Pass] PLAY_MODE => 0x1
- [Pass] MENU_MODE => 0x0
- GUI_Control(BGMT_MENU, 0, 0, 0); msleep(500);
- [Pass] MENU_MODE => 0x1
- [Pass] PLAY_MODE => 0x0
- [FAIL] MEM(dialog->type) => 0x414944
- GUI_Control(BGMT_MENU, 0, 0, 0); msleep(500);
- [Pass] MENU_MODE => 0x0
- [Pass] PLAY_MODE => 0x0
- task_create("test", 0x1c, 0x1000, test_task, 0) => 0x1e5800b2
- [Pass] test_task_created => 0x1
- [Pass] get_task_name_from_id((unsigned int)get_current_task()) => 'run_test'
- [Pass] mq = mq ? mq : (void*)msg_queue_create("test", 5) => 0x1ea200b2
- [Pass] msg_queue_post(mq, 0x1234567) => 0x0
- [Pass] msg_queue_receive(mq, (struct event **) &m, 500) => 0x0
- [Pass] m => 0x1234567
- [Pass] msg_queue_receive(mq, (struct event **) &m, 500) => 0x9
- [Pass] sem = sem ? sem : create_named_semaphore("test", 1) => 0x1f280244
- [Pass] take_semaphore(sem, 500) => 0x0
- [Pass] take_semaphore(sem, 500) => 0x9
- [Pass] give_semaphore(sem) => 0x0
- [Pass] take_semaphore(sem, 500) => 0x0
- [Pass] give_semaphore(sem) => 0x0
- [Pass] rlock = rlock ? rlock : CreateRecursiveLock(0) => 0x1fba0042
- [Pass] AcquireRecursiveLock(rlock, 500) => 0x0
- [Pass] AcquireRecursiveLock(rlock, 500) => 0x0
- [Pass] ReleaseRecursiveLock(rlock) => 0x0
- [Pass] ReleaseRecursiveLock(rlock) => 0x0
- [Pass] ReleaseRecursiveLock(rlock) => 0xf
- [Pass] f = FIO_CreateFileEx(CARD_DRIVE"test.dat") => 0x4
- [Pass] FIO_WriteFile(f, (void*)ROMBASEADDR, 0x10000) => 0x10000
- [Pass] FIO_WriteFile(f, (void*)ROMBASEADDR, 0x10000) => 0x10000
- FIO_CloseFile(f)
- [Pass] FIO_GetFileSize(CARD_DRIVE"test.dat", &size) => 0x0
- [Pass] size => 0x20000
- [Pass] p = alloc_dma_memory(0x20000) => 0x40848adc
- [Pass] f = FIO_Open(CARD_DRIVE"test.dat", O_RDONLY | O_SYNC) => 0x4
- [Pass] FIO_ReadFile(f, p, 0x20000) => 0x20000
- FIO_CloseFile(f)
- free_dma_memory(p)
- [Pass] count => 0x3a98
- [Pass] FIO_RemoveFile(CARD_DRIVE"test.dat") => 0x0
- SW1(1,100)
- [FAIL] HALFSHUTTER_PRESSED => 0x0
- SW1(0,100)
- [Pass] HALFSHUTTER_PRESSED => 0x0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement