|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [RFC PATCH v2 10/15] cpu-model/s390: Add cpu class initialization routines |
| Date: | Fri, 20 Feb 2015 08:02:42 -0800 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/17/2015 06:24 AM, Michael Mueller wrote:
> +/**
> + * s390_test_facility - test if given facility bit is set facility list
> + * of given cpu class
> + * @class: address of cpu class to test
> + * @nr: bit number to test
> + *
> + * Returns: true in case it is set
> + * false in case it is not set
> + */
> +bool s390_test_facility(S390CPUClass *cc, unsigned long nr)
> +{
> + if (cc) {
> + return test_facility(nr, cc->fac_list) ? true : false;
> + }
> + return false;
> +}
Where do you see this being used?
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |