[PATCH phosphor-host-ipmid v9] Add get/set boot option ipmid command support with correct DBUS property handling.

Stewart Smith stewart at linux.vnet.ibm.com
Fri Jan 29 14:54:41 AEDT 2016


OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:
>  struct get_sys_boot_options_t {
>      uint8_t parameter;
>      uint8_t set;
>      uint8_t block;
>  }  __attribute__ ((packed));
>  
> +struct set_sys_boot_options_t {
> +    uint8_t parameter;
> +    union {
> +        struct {
> +            uint8_t d1;
> +            uint8_t d2;
> +            uint8_t d3;
> +            uint8_t d4;
> +            uint8_t d5;
> +            uint8_t d6;
> +            uint8_t d7;
> +            uint8_t d8;
> +        } data8;
> +        uint64_t data64;
> +    } data;
> +}  __attribute__ ((packed));

Why not "uint8_t d[8]" ?


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the openbmc mailing list