Home
last modified time | relevance | path

Searched hist:"9 e6c572ff03cda84c88663b23c7157d8b1f275ac" (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dprocessor.h9e6c572ff03cda84c88663b23c7157d8b1f275ac Sat Dec 31 11:58:15 UTC 2011 Graeme Russ <graeme.russ@gmail.com> x86: Use fs for global data

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 movl 0, %eax

This makes the gd 'pointer' writable prior to relocation (by reloading the
Global Desctriptor Table) which brings x86 into line with all other arches

NOTE: Writing to the gd 'pointer' is expensive (but we only do it
twice) but using it to access global data members (read and write) is
still fairly cheap

--
Changes for v2:
- Rebased against changes made to patch #3
- Removed extra indent
- Tweaked commit message
H A Dglobal_data.h9e6c572ff03cda84c88663b23c7157d8b1f275ac Sat Dec 31 11:58:15 UTC 2011 Graeme Russ <graeme.russ@gmail.com> x86: Use fs for global data

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 movl 0, %eax

This makes the gd 'pointer' writable prior to relocation (by reloading the
Global Desctriptor Table) which brings x86 into line with all other arches

NOTE: Writing to the gd 'pointer' is expensive (but we only do it
twice) but using it to access global data members (read and write) is
still fairly cheap

--
Changes for v2:
- Rebased against changes made to patch #3
- Removed extra indent
- Tweaked commit message
H A Du-boot-x86.h9e6c572ff03cda84c88663b23c7157d8b1f275ac Sat Dec 31 11:58:15 UTC 2011 Graeme Russ <graeme.russ@gmail.com> x86: Use fs for global data

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 movl 0, %eax

This makes the gd 'pointer' writable prior to relocation (by reloading the
Global Desctriptor Table) which brings x86 into line with all other arches

NOTE: Writing to the gd 'pointer' is expensive (but we only do it
twice) but using it to access global data members (read and write) is
still fairly cheap

--
Changes for v2:
- Rebased against changes made to patch #3
- Removed extra indent
- Tweaked commit message
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dstart.S9e6c572ff03cda84c88663b23c7157d8b1f275ac Sat Dec 31 11:58:15 UTC 2011 Graeme Russ <graeme.russ@gmail.com> x86: Use fs for global data

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 movl 0, %eax

This makes the gd 'pointer' writable prior to relocation (by reloading the
Global Desctriptor Table) which brings x86 into line with all other arches

NOTE: Writing to the gd 'pointer' is expensive (but we only do it
twice) but using it to access global data members (read and write) is
still fairly cheap

--
Changes for v2:
- Rebased against changes made to patch #3
- Removed extra indent
- Tweaked commit message
H A Dcpu.c9e6c572ff03cda84c88663b23c7157d8b1f275ac Sat Dec 31 11:58:15 UTC 2011 Graeme Russ <graeme.russ@gmail.com> x86: Use fs for global data

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 movl 0, %eax

This makes the gd 'pointer' writable prior to relocation (by reloading the
Global Desctriptor Table) which brings x86 into line with all other arches

NOTE: Writing to the gd 'pointer' is expensive (but we only do it
twice) but using it to access global data members (read and write) is
still fairly cheap

--
Changes for v2:
- Rebased against changes made to patch #3
- Removed extra indent
- Tweaked commit message