]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86: change parameter name in {hap,shadow}_track_dirty_vram()
authorFederico Serafini <federico.serafini@bugseng.com>
Mon, 11 Sep 2023 07:39:57 +0000 (09:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Sep 2023 07:39:57 +0000 (09:39 +0200)
Make function declarations consistent with the corresponding
definitions to address violations of MISRA C:2012 Rule 8.3.
No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/hap.h
xen/arch/x86/include/asm/shadow.h

index 9d12327b120d2bfbecab09e1a68cfe70d5358959..05e124ad57be74baa407657b6a895166e0f5b74e 100644 (file)
@@ -30,7 +30,7 @@ void  hap_vcpu_init(struct vcpu *v);
 int   hap_track_dirty_vram(struct domain *d,
                            unsigned long begin_pfn,
                            unsigned int nr_frames,
-                           XEN_GUEST_HANDLE(void) dirty_bitmap);
+                           XEN_GUEST_HANDLE(void) guest_dirty_bitmap);
 
 extern const struct paging_mode *hap_paging_get_mode(struct vcpu *);
 int hap_set_allocation(struct domain *d, unsigned int pages, bool *preempted);
index ba2b0e170b1e836f4093c94835e0fb40db780e80..20df34d0a819c15f35f5ee9d9aaa54092e11b399 100644 (file)
@@ -65,7 +65,7 @@ int shadow_enable(struct domain *d, u32 mode);
 int shadow_track_dirty_vram(struct domain *d,
                             unsigned long first_pfn,
                             unsigned int nr_frames,
-                            XEN_GUEST_HANDLE(void) dirty_bitmap);
+                            XEN_GUEST_HANDLE(void) guest_dirty_bitmap);
 
 /* Handler for shadow control ops: operations from user-space to enable
  * and disable ephemeral shadow modes (test mode and log-dirty mode) and