Revision 26a76461 block-vpc.c
b/block-vpc.c | ||
---|---|---|
163 | 163 |
bitmap_offset = 512 * s->pagetable[pagetable_index]; |
164 | 164 |
block_offset = bitmap_offset + 512 + (512 * pageentry_index); |
165 | 165 |
|
166 |
// printf("sector: %llx, index: %x, offset: %x, bioff: %llx, bloff: %llx\n",
|
|
166 |
// printf("sector: %" PRIx64 ", index: %x, offset: %x, bioff: %" PRIx64 ", bloff: %" PRIx64 "\n",
|
|
167 | 167 |
// sector_num, pagetable_index, pageentry_index, |
168 | 168 |
// bitmap_offset, block_offset); |
169 | 169 |
|
Also available in: Unified diff