ACK: [PATCH 1/3] lib: fwts_uefi: add the URI device path define
Alex Hung
alex.hung at canonical.com
Mon Nov 9 07:31:30 UTC 2015
On 11/05/2015 04:55 PM, Ivan Hu wrote:
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
> src/lib/include/fwts_uefi.h | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/include/fwts_uefi.h b/src/lib/include/fwts_uefi.h
> index 6ba8db4..f4cf829 100644
> --- a/src/lib/include/fwts_uefi.h
> +++ b/src/lib/include/fwts_uefi.h
> @@ -232,7 +232,8 @@ typedef enum {
> FWTS_UEFI_VLAN_DEVICE_PATH_SUBTYPE = (0x14),
> FWTS_UEFI_FIBRE_CHANNEL_EX_DEVICE_PATH_SUBTYPE = (0x15),
> FWTS_UEFI_SAS_EX_DEVICE_PATH_SUBTYPE = (0x16),
> - FWTS_UEFI_NVM_EXPRESS_NAMESP_DEVICE_PATH_SUBTYPE = (0x17)
> + FWTS_UEFI_NVM_EXPRESS_NAMESP_DEVICE_PATH_SUBTYPE = (0x17),
> + FWTS_UEFI_URI_DEVICE_PATH_SUBTYPE = (0x18)
> } messaging_dev_path_subtypes;
>
> typedef enum {
> @@ -496,7 +497,7 @@ typedef struct {
> uint16_t tpg_tag;
> char iscsi_tn[0];
> } __attribute__((packed)) fwts_uefi_iscsi_dev_path;
> -
> +
> typedef struct {
> fwts_uefi_dev_path dev_path;
> uint32_t namesp_id;
> @@ -505,6 +506,11 @@ typedef struct {
>
> typedef struct {
> fwts_uefi_dev_path dev_path;
> + char uri[0];
> +} __attribute__((packed)) fwts_uefi_uri_dev_path;
> +
> +typedef struct {
> + fwts_uefi_dev_path dev_path;
> uint32_t partition_number;
> uint64_t partition_start;
> uint64_t partition_size;
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list