mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 10:17:28 +00:00
HV:transfer vmid's type to uint16_t
vmid's type prefered to be uint16_t. V1->V2:vmid from uint32_t transfer to uint16_t V2->V3:add range check to hcall's vmid parameter V3->V4:seperate the declaration and actual code. V4->V5:remove range check from hcall's vmid parameter Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -381,7 +381,7 @@ void vuart_console_rx_chars(uint32_t serial_handle)
|
||||
|
||||
struct vuart *vuart_console_active(void)
|
||||
{
|
||||
struct vm *vm = get_vm_from_vmid(0);
|
||||
struct vm *vm = get_vm_from_vmid(0U);
|
||||
|
||||
if ((vm != NULL) && (vm->vuart != NULL)) {
|
||||
struct vuart *vu = vm->vuart;
|
||||
|
Reference in New Issue
Block a user