mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
doc: remove hard-coded interfaces in .rst files
This patch removes hard-coded interfaces in .rst files and refers to the definition via doxygen style comments. This patch mainly focus on Hypervisor part. Other parts will be covered in seperate patches. Tracked-On: #1595 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
committed by
David Kinder
parent
ffb924542b
commit
474496fc0e
@@ -25,10 +25,20 @@ uint32_t ioapic_irq_to_pin(uint32_t irq);
|
||||
int32_t init_ioapic_id_info(void);
|
||||
uint8_t ioapic_irq_to_ioapic_id(uint32_t irq);
|
||||
|
||||
/**
|
||||
* @defgroup ioapic_ext_apis IOAPIC External Interfaces
|
||||
*
|
||||
* This is a group that includes IOAPIC External Interfaces.
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Get irq num from pin num
|
||||
*
|
||||
* @param[in] pin The pin number
|
||||
*
|
||||
* @return irq number
|
||||
*/
|
||||
uint32_t ioapic_pin_to_irq(uint32_t pin);
|
||||
|
||||
@@ -54,9 +64,25 @@ void ioapic_set_rte(uint32_t irq, union ioapic_rte rte);
|
||||
*/
|
||||
void ioapic_get_rte(uint32_t irq, union ioapic_rte *rte);
|
||||
|
||||
/**
|
||||
* @brief Suspend ioapic
|
||||
*
|
||||
* Suspend ioapic, mainly save the RTEs.
|
||||
*/
|
||||
void suspend_ioapic(void);
|
||||
|
||||
/**
|
||||
* @brief Resume ioapic
|
||||
*
|
||||
* Resume ioapic, mainly restore the RTEs.
|
||||
*/
|
||||
void resume_ioapic(void);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
/* End of ioapic_ext_apis */
|
||||
|
||||
void ioapic_gsi_mask_irq(uint32_t irq);
|
||||
void ioapic_gsi_unmask_irq(uint32_t irq);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user