lkml.org 
[lkml]   [2008]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -mm 2/4] x86_64 boot: Add linked list of struct setup_data
From
Date
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


\
 
 \ /
  Last update: 2008-03-28 03:11    [W:0.092 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site