acrn-hypervisor/hypervisor/arch/x86
Junjie Mao ef3cb5ba1c treewide: remove unnecessary unnamed structs/unions
According to the syntax defined in C99, each struct/union field must have an
identifier. This patch removes unnamed struct/union fields that can be easily
expressed in a C99-compatible way.

Here is a summary of structs/unions removed.

struct vhm_request:

    union {
        uint32_t type;                  uint32_t type;
        int32_t reserved0[16];    =>    int32_t reserved0[15];
    };

struct vhm_request_buffer:

    struct vhm_request_buffer {
        union {                         union vhm_request_buffer {
            struct vhm_request ...; =>        struct vhm_request ...;
            int8_t reserved[4096];            int8_t reserved[4096];
        }                               }
    }

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
2018-05-29 14:12:15 +08:00
..
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest refomatted GET_DATA_SIZE macro 2018-05-29 14:11:29 +08:00
assign.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
cpu.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
cpu_primary.S HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
cpu_secondary.S HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
cpu_state_tbl.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
cpuid.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
ept.c treewide: remove unnecessary unnamed structs/unions 2018-05-29 14:12:15 +08:00
gdt.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
idt.S initial import 2018-05-11 14:44:28 +08:00
interrupt.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
intr_lapic.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
intr_main.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
io.c treewide: remove unnecessary unnamed structs/unions 2018-05-29 14:12:15 +08:00
ioapic.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
irq.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
mmu.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
notify.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
retpoline-thunk.S retpoline: add indirect thunk support 2018-05-15 17:19:36 +08:00
softirq.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
timer.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
trusty.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
vmexit.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
vmx.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
vmx_asm.S Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume 2018-05-15 17:19:37 +08:00
vtd.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00