Revision ab719827
b/hw/ide/atapi.c | ||
---|---|---|
1080 | 1080 |
|
1081 | 1081 |
void ide_atapi_cmd(IDEState *s) |
1082 | 1082 |
{ |
1083 |
const uint8_t *packet; |
|
1084 | 1083 |
uint8_t *buf; |
1085 | 1084 |
|
1086 |
packet = s->io_buffer; |
|
1087 | 1085 |
buf = s->io_buffer; |
1088 | 1086 |
#ifdef DEBUG_IDE_ATAPI |
1089 | 1087 |
{ |
1090 | 1088 |
int i; |
1091 | 1089 |
printf("ATAPI limit=0x%x packet:", s->lcyl | (s->hcyl << 8)); |
1092 | 1090 |
for(i = 0; i < ATAPI_PACKET_SIZE; i++) { |
1093 |
printf(" %02x", packet[i]);
|
|
1091 |
printf(" %02x", buf[i]);
|
|
1094 | 1092 |
} |
1095 | 1093 |
printf("\n"); |
1096 | 1094 |
} |
Also available in: Unified diff