Re: [U-Boot] [PATCH 07/17] x86: Use fs for global data

2012-01-04 Thread Graeme Russ
Hi Simon, On 04/01/12 16:36, Simon Glass wrote: > Hi Graeme, > > On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: >> Use the base address of the 'F' segment as a pointer to the global data >> structure. By adding the linear address (i.e. the 'D' segment address) >> as the first word of the glo

Re: [U-Boot] [PATCH 07/17] x86: Use fs for global data

2012-01-03 Thread Simon Glass
Hi Graeme, On Sun, Jan 1, 2012 at 8:09 PM, Graeme Russ wrote: > Use the base address of the 'F' segment as a pointer to the global data > structure. By adding the linear address (i.e. the 'D' segment address) > as the first word of the global data structure, the address of the > global data relat

[U-Boot] [PATCH 07/17] x86: Use fs for global data

2012-01-01 Thread Graeme Russ
Use the base address of the 'F' segment as a pointer to the global data structure. By adding the linear address (i.e. the 'D' segment address) as the first word of the global data structure, the address of the global data relative to the 'D' segment can be found simply, for example, by: fs