mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Rename hexdump to avoid FreeBSD libutil conflict
On FreeBSD libutil is used for openpty(), but it also provides a hexdump() which conflicts with QEMU's. Signed-off-by: Ed Maste <emaste@freebsd.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1368718348-15199-1-git-send-email-emaste@freebsd.org Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fd2a2e1c55
commit
3568ac2a6e
4 changed files with 5 additions and 5 deletions
|
@ -1157,7 +1157,7 @@ static int pl330_exec_cycle(PL330Chan *channel)
|
|||
if (PL330_ERR_DEBUG > 1) {
|
||||
DB_PRINT("PL330 read from memory @%08x (size = %08x):\n",
|
||||
q->addr, len);
|
||||
hexdump((char *)buf, stderr, "", len);
|
||||
qemu_hexdump((char *)buf, stderr, "", len);
|
||||
}
|
||||
fifo_res = pl330_fifo_push(&s->fifo, buf, len, q->tag);
|
||||
if (fifo_res == PL330_FIFO_OK) {
|
||||
|
@ -1189,7 +1189,7 @@ static int pl330_exec_cycle(PL330Chan *channel)
|
|||
if (PL330_ERR_DEBUG > 1) {
|
||||
DB_PRINT("PL330 read from memory @%08x (size = %08x):\n",
|
||||
q->addr, len);
|
||||
hexdump((char *)buf, stderr, "", len);
|
||||
qemu_hexdump((char *)buf, stderr, "", len);
|
||||
}
|
||||
if (q->inc) {
|
||||
q->addr += len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue