|
From: | Scott Wood |
Subject: | Re: [Qemu-ppc] [PATCH 18/21] openpic: add basic support for MPIC v4.2 |
Date: | Fri, 25 Jan 2013 13:28:03 -0600 |
On 01/25/2013 01:23:52 PM, Blue Swirl wrote:
On Fri, Jan 25, 2013 at 12:53 PM, Alexander Graf <address@hidden> wrote:> + > +static int inttgt_to_output(int inttgt) > +{ > + int i; > + > + for (i = 0; i < ARRAY_SIZE(inttgt_output); i++) { > + if (inttgt_output[i][0] == inttgt) { > + return inttgt_output[i][1]; > + } > + } > +> + fprintf(stderr, "%s: unsupported inttgt %d\n", __func__, inttgt);No objection, but how about converting this to qemu_log(LOG_UNIMP,...) later?
OK, didn't know that existed. -Scott
[Prev in Thread] | Current Thread | [Next in Thread] |