Re: [PATCH -mm 2/4] x86_64 boot: Add linked list of structsetup_data

From: Huang, Ying
Date: Thu Mar 27 2008 - 22:08:03 EST


On Thu, 2008-03-27 at 06:33 -0500, Paul Jackson wrote:
> Huang wrote:
> +/* setup data types */
> +#define SETUP_NONE 0
> +
> +/* extensible setup data list node */
> +struct setup_data {
> + u64 next;
> + u32 type;
> + u32 len;
> + u8 data[0];
> +};
>
>
> I don't understand what purpose the 'type' field serves.

The setup_data will not only be used for E820 extension. So a type field
is used to distinguish various setup_data.

Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/