On 31 Jan 2012, at 19:11, Pekka Enberg wrote:
> On Tue, Jan 31, 2012 at 8:34 AM, Matt Evans wrote:
>> +#define DEBUG_SPAPR_HCALLS
>
> I suppose this shouldn't be defined by default?
Well, I had a bit of a debate about it. I left it on as it is actually
interesting whilst experimenting with d
On Tue, Jan 31, 2012 at 8:34 AM, Matt Evans wrote:
> +#define DEBUG_SPAPR_HCALLS
I suppose this shouldn't be defined by default?
> +#ifdef DEBUG_SPAPR_HCALLS
> +#define hcall_dprintf(fmt, ...) \
> + do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0)
> +#else
> +#define hcall_dprintf(fmt,
This patch adds the basic structure for HV calls, their registration and some of
the simpler calls. A similar layout for RTAS calls is also added, again with
some of the simpler RTAS calls used by the guest. The SPAPR RTAS stub is
generated inline. Also, nodes for RTAS are added to the device tr