memory: Explicitly tag doc comments for structs

This will allow us to remove the QEMU-specific
$decl_type='type name' hack from the kernel-doc script.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201003024123.193840-5-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
Eduardo Habkost 2020-10-02 22:41:22 -04:00
parent ff59780f8d
commit 301302f067

View file

@ -443,7 +443,7 @@ struct IOMMUMemoryRegion {
QLIST_FOREACH((n), &(mr)->iommu_notify, node) QLIST_FOREACH((n), &(mr)->iommu_notify, node)
/** /**
* MemoryListener: callbacks structure for updates to the physical memory map * struct MemoryListener: callbacks structure for updates to the physical memory map
* *
* Allows a component to adjust to changes in the guest-visible memory map. * Allows a component to adjust to changes in the guest-visible memory map.
* Use with memory_listener_register() and memory_listener_unregister(). * Use with memory_listener_register() and memory_listener_unregister().
@ -681,7 +681,7 @@ struct MemoryListener {
}; };
/** /**
* AddressSpace: describes a mapping of addresses to #MemoryRegion objects * struct AddressSpace: describes a mapping of addresses to #MemoryRegion objects
*/ */
struct AddressSpace { struct AddressSpace {
/* private: */ /* private: */
@ -721,7 +721,7 @@ static inline FlatView *address_space_to_flatview(AddressSpace *as)
/** /**
* MemoryRegionSection: describes a fragment of a #MemoryRegion * struct MemoryRegionSection: describes a fragment of a #MemoryRegion
* *
* @mr: the region, or %NULL if empty * @mr: the region, or %NULL if empty
* @fv: the flat view of the address space the region is mapped in * @fv: the flat view of the address space the region is mapped in