On 06/12/2012 03:01 PM, Gleb Natapov wrote:
> The function will be used outside of the emulator.
>
> /*
> * x86_emulate_ops:
> *
> @@ -194,6 +199,10 @@ struct x86_emulate_ops {
>
> bool (*get_cpuid)(struct x86_emulate_ctxt *ctxt,
> u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
> +
> + int (*linearize)(struct x86_emulate_ctxt *ctxt,
> + struct segmented_address addr, unsigned size,
> + bool write, bool fetch, ulong *linear);
> };
>
linearize is defined in terms of the other ops; this means that if we
get a second user they will have to replicate it.
Why not make the current linearize available to users?
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html