]> git.proxmox.com Git - mirror_qemu.git/commit
i386: Replace uint32_t* with FeatureWord on feature getter/setter
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 27 Mar 2017 14:48:14 +0000 (11:48 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 28 Mar 2017 19:40:50 +0000 (16:40 -0300)
commita7b0ffacc125f06ef277a2afa54a52e7f22e11fe
tree586dd2c5f7b1bb703f3a3715687e491e2b717641
parentdf9046363220e57d45818312759b954c033c58ab
i386: Replace uint32_t* with FeatureWord on feature getter/setter

Instead of passing a pointer to the feature property getter and
setter functions, pass a FeatureWord enum so they can perform
other actions related to the feature flag.

This will be used to add a new "user_features" field to keep
track of features that were explicitly set by the user.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170327144815.8043-2-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c