mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-31 08:30:51 +00:00
block_size is used in drivers section (block0) otherwise use 512-byte block
This commit is contained in:
parent
afab5c5f43
commit
efcd323152
@ -118,7 +118,7 @@ void scanbus(void)
|
|||||||
{
|
{
|
||||||
printf(" block size: %d, blocks number: %d (",
|
printf(" block size: %d, blocks number: %d (",
|
||||||
block_size, block_count);
|
block_size, block_count);
|
||||||
print_size(block_count, block_size);
|
print_size(block_count, 512);
|
||||||
printf(")\n");
|
printf(")\n");
|
||||||
}
|
}
|
||||||
else putchar('\n');
|
else putchar('\n');
|
||||||
@ -196,7 +196,7 @@ void scanbus(void)
|
|||||||
&start, &count);
|
&start, &count);
|
||||||
printf(" base: %d, count: %d (",
|
printf(" base: %d, count: %d (",
|
||||||
start, count);
|
start, count);
|
||||||
print_size(count, block_size);
|
print_size(count, 512);
|
||||||
printf(")\n");
|
printf(")\n");
|
||||||
printf(" flags: 0x%08x\n",
|
printf(" flags: 0x%08x\n",
|
||||||
emile_map_partition_get_flags(map));
|
emile_map_partition_get_flags(map));
|
||||||
|
Loading…
Reference in New Issue
Block a user