mbr_buf 1281 platform/generic/wrappers.c static char *mbr_buf=(void*)0; mbr_buf 1286 platform/generic/wrappers.c return (mbr_buf == (void*)0) ? 0 : 1; mbr_buf 1300 platform/generic/wrappers.c mbr_buf=_AllocateUncacheableMemory(SECTOR_SIZE); mbr_buf 1301 platform/generic/wrappers.c _memcpy(mbr_buf,mbr_sector,SECTOR_SIZE); mbr_buf 1327 platform/generic/wrappers.c mbr_buf=_AllocateUncacheableMemory(SECTOR_SIZE); mbr_buf 1328 platform/generic/wrappers.c _memcpy(mbr_buf,mbr_sector,SECTOR_SIZE); mbr_buf 1345 platform/generic/wrappers.c part_start_sector=(*(unsigned short*)(mbr_buf+i*16+0x1C8)<<16) | *(unsigned short*)(mbr_buf+i*16+0x1C6); mbr_buf 1346 platform/generic/wrappers.c part_length=(*(unsigned short*)(mbr_buf+i*16+0x1CC)<<16) | *(unsigned short*)(mbr_buf+i*16+0x1CA); mbr_buf 1347 platform/generic/wrappers.c part_status=mbr_buf[i*16+0x1BE]; mbr_buf 1348 platform/generic/wrappers.c part_type=mbr_buf[0x1C2+i*16]; mbr_buf 1359 platform/generic/wrappers.c partType=mbr_buf[0x1C2+(get_active_partition()-1)*16]; mbr_buf 1402 platform/generic/wrappers.c c=mbr_buf[i+0x1BE]; mbr_buf 1405 platform/generic/wrappers.c mbr_buf[i+(p-1)*16+0x1BE]=mbr_buf[i+p*16+0x1BE]; mbr_buf 1407 platform/generic/wrappers.c mbr_buf[i+(partition_count-1)*16+0x1BE]=c; mbr_buf 1410 platform/generic/wrappers.c _WriteSDCard(0,0,1,mbr_buf); mbr_buf 1424 platform/generic/wrappers.c int a = mbr_buf[0x01C6+(i)*16]; mbr_buf 1425 platform/generic/wrappers.c int b = mbr_buf[0x01C7+(i)*16]; mbr_buf 1426 platform/generic/wrappers.c int c = mbr_buf[0x01C8+(i)*16]; mbr_buf 1427 platform/generic/wrappers.c int d = mbr_buf[0x01C9+(i)*16]; mbr_buf 1446 platform/generic/wrappers.c _memset(mbr_buf,0,SECTOR_SIZE); mbr_buf 1450 platform/generic/wrappers.c mbr_buf[0x1BE + 4]=type; mbr_buf 1451 platform/generic/wrappers.c mbr_buf[0x1BE + 8]=start; mbr_buf[0x1BE + 9]=start>>8; mbr_buf[0x1BE + 10]=start>>16; mbr_buf[0x1BE + 11]=start>>24; mbr_buf 1452 platform/generic/wrappers.c mbr_buf[0x1BE + 12]=length; mbr_buf[0x1BE + 13]=length>>8; mbr_buf[0x1BE + 14]=length>>16; mbr_buf[0x1BE + 15]=length>>24; mbr_buf 1456 platform/generic/wrappers.c mbr_buf[0x1CE + 4]=type; mbr_buf 1457 platform/generic/wrappers.c mbr_buf[0x1CE + 8]=start; mbr_buf[0x1CE + 9]=start>>8; mbr_buf[0x1CE + 10]=start>>16; mbr_buf[0x1CE + 11]=start>>24; mbr_buf 1458 platform/generic/wrappers.c mbr_buf[0x1CE + 12]=length; mbr_buf[0x1CE + 13]=length>>8; mbr_buf[0x1CE + 14]=length>>16; mbr_buf[0x1CE + 15]=length>>24; mbr_buf 1460 platform/generic/wrappers.c mbr_buf[0x1FE]=0x55; mbr_buf[0x1FF]=0xAA; // signature; mbr_buf 1462 platform/generic/wrappers.c _WriteSDCard(0,0,1,mbr_buf);