HV:common:transfer local variable type

The local variable type should be transfer to non-basic type,
chaned it to length-prefix(uint32_t,int32_t ...) type.

Char *type or char array type which used to pointer a string
will be keeped.

V1->V2 add extra comments.

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-06-28 16:27:12 +08:00
committed by lijinxia
parent 4ec690fde3
commit b8384ea0dd
8 changed files with 30 additions and 28 deletions

View File

@@ -257,7 +257,7 @@ extern struct cpuinfo_x86 boot_cpu_data;
/* Function prototypes */
void cpu_dead(uint32_t logical_id);
void trampoline_start16(void);
int hv_main(uint16_t cpu_id);
int32_t hv_main(uint16_t cpu_id);
bool is_vapic_supported(void);
bool is_vapic_intr_delivery_supported(void);
bool is_vapic_virt_reg_supported(void);

View File

@@ -34,7 +34,7 @@ enum {
struct vhm_request;
int acrn_insert_request_wait(struct vcpu *vcpu, struct vhm_request *req);
int32_t acrn_insert_request_wait(struct vcpu *vcpu, struct vhm_request *req);
void get_req_info(char *str, int str_max);
/*