Re: [PATCH v6 4/4] hv: refine the define of *PIO_IDX


Eddie Dong
 


A reminder: using enumeration constants as integers is prohibited by ACRN
coding guideline.
Aaa, If this is the case, we have to drop this patch.


In this case the enumeration above is not exhaustive (due to the variable
number of UARTs) and will eventually trigger enum to integer conversions
somewhere in the code.

--
Best Regards
Junjie Mao

/**
* @brief The handler of VM exits on I/O instructions
*


Join acrn-dev@lists.projectacrn.org to automatically receive all group messages.