mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 14:58:43 +00:00
hv:clear up the usage of printf data struct
The printf related functions have been called by other various functions, e.g. get_ptdev_info(), get_ioapic_info, etc. The patch is used to clear up the usage. Tracked-On: #861 Signed-off-by: Junjun Shan <junjun.shan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -554,10 +554,10 @@ void vioapic_get_rte(struct vm *vm, uint32_t pin, union ioapic_rte *rte)
|
||||
}
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
void get_vioapic_info(char *str_arg, int str_max, uint16_t vmid)
|
||||
void get_vioapic_info(char *str_arg, size_t str_max, uint16_t vmid)
|
||||
{
|
||||
char *str = str_arg;
|
||||
int len, size = str_max;
|
||||
size_t len, size = str_max;
|
||||
union ioapic_rte rte;
|
||||
uint32_t delmode, vector, dest;
|
||||
bool level, phys, remote_irr, mask;
|
||||
|
Reference in New Issue
Block a user