From fc163ff04a8fea2b1ada5c47cc1c4c517cbd0c91 Mon Sep 17 00:00:00 2001 From: Haiwei Li Date: Mon, 2 Sep 2024 11:14:32 +0800 Subject: [PATCH] doc: move closing markers before endif Move the closing markers in the '#define .. #endif' to match the opening markers. Tracked-On: #8665 Signed-off-by: Haiwei Li --- hypervisor/include/arch/x86/asm/page.h | 5 +++-- hypervisor/include/arch/x86/asm/pgtable.h | 4 ++-- hypervisor/include/dm/vrtc.h | 5 ++--- hypervisor/include/dm/vuart.h | 5 +++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/hypervisor/include/arch/x86/asm/page.h b/hypervisor/include/arch/x86/asm/page.h index 5ed63a9c7..ea4f78e24 100644 --- a/hypervisor/include/arch/x86/asm/page.h +++ b/hypervisor/include/arch/x86/asm/page.h @@ -132,8 +132,9 @@ struct page_pool { struct page *alloc_page(struct page_pool *pool); void free_page(struct page_pool *pool, struct page *page); -#endif /* PAGE_H */ /** * @} - */ \ No newline at end of file + */ + +#endif /* PAGE_H */ diff --git a/hypervisor/include/arch/x86/asm/pgtable.h b/hypervisor/include/arch/x86/asm/pgtable.h index a3f819676..47b1dde97 100644 --- a/hypervisor/include/arch/x86/asm/pgtable.h +++ b/hypervisor/include/arch/x86/asm/pgtable.h @@ -553,8 +553,8 @@ void pgtable_add_map(uint64_t *pml4_page, uint64_t paddr_base, void pgtable_modify_or_del_map(uint64_t *pml4_page, uint64_t vaddr_base, uint64_t size, uint64_t prot_set, uint64_t prot_clr, const struct pgtable *table, uint32_t type); -#endif /* PGTABLE_H */ /** * @} - */ \ No newline at end of file + */ +#endif /* PGTABLE_H */ \ No newline at end of file diff --git a/hypervisor/include/dm/vrtc.h b/hypervisor/include/dm/vrtc.h index 27be54023..52b94504e 100644 --- a/hypervisor/include/dm/vrtc.h +++ b/hypervisor/include/dm/vrtc.h @@ -74,8 +74,7 @@ struct acrn_vrtc { struct rtcdev rtcdev; /**< Register layout of RTC. */ }; -#endif /* VRTC_H */ - /** * @} - */ \ No newline at end of file + */ +#endif /* VRTC_H */ \ No newline at end of file diff --git a/hypervisor/include/dm/vuart.h b/hypervisor/include/dm/vuart.h index 52f2360d0..ddb07ef11 100644 --- a/hypervisor/include/dm/vuart.h +++ b/hypervisor/include/dm/vuart.h @@ -119,8 +119,9 @@ bool is_vuart_intx(const struct acrn_vm *vm, uint32_t intx_gsi); uint8_t vuart_read_reg(struct acrn_vuart *vu, uint16_t offset); void vuart_write_reg(struct acrn_vuart *vu, uint16_t offset, uint8_t value); -#endif /* VUART_H */ /** * @} - */ \ No newline at end of file + */ + +#endif /* VUART_H */ \ No newline at end of file