xHV: remove unused function is_dbg_uart_enabled

Change-Id: I64b3e08818f1cb15ec7c41557900d6e462c4e107
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
yliu79
2019-05-17 14:49:27 -07:00
committed by ACRN System Integration
parent 36568ff5ea
commit fe4fcf491f
6 changed files with 3 additions and 13 deletions

View File

@@ -430,9 +430,6 @@ Data Transferring between hypervisor and VM
.. doxygenfunction:: copy_from_gva
:project: Project ACRN
.. doxygenfunction:: copy_to_gva
:project: Project ACRN
Address Space Translation
-------------------------

View File

@@ -209,9 +209,6 @@ ACRN hypervisor implements virtual exception injection using these APIs:
.. doxygenfunction:: vcpu_inject_ud
:project: Project ACRN
.. doxygenfunction:: vcpu_inject_ac
:project: Project ACRN
.. doxygenfunction:: vcpu_inject_ss
:project: Project ACRN

View File

@@ -240,8 +240,3 @@ bool is_pci_dbg_uart(union pci_bdf bdf_value)
return ret;
}
bool is_dbg_uart_enabled(void)
{
return uart_enabled;
}

View File

@@ -95,6 +95,9 @@ int32_t copy_to_gpa(struct acrn_vm *vm, void *h_ptr, uint64_t gpa, uint32_t size
*/
int32_t copy_from_gva(struct acrn_vcpu *vcpu, void *h_ptr, uint64_t gva,
uint32_t size, uint32_t *err_code, uint64_t *fault_addr);
/**
* @}
*/
#endif /* !ASSEMBLER */
#endif /* GUEST_H*/

View File

@@ -132,6 +132,5 @@ char uart16550_getc(void);
size_t uart16550_puts(const char *buf, uint32_t len);
void uart16550_set_property(bool enabled, bool port_mapped, uint64_t base_addr);
bool is_pci_dbg_uart(union pci_bdf bdf_value);
bool is_dbg_uart_enabled(void);
#endif /* !UART16550_H */

View File

@@ -27,7 +27,6 @@ void resume_console(void) {}
bool handle_dbg_cmd(__unused const char *cmd, __unused int32_t len) { return false; }
bool is_pci_dbg_uart(__unused union pci_bdf bdf_value) { return false; }
bool is_dbg_uart_enabled(void) { return false; }
void shell_init(void) {}
void shell_kick(void) {}