diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-03-02 14:47:37 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-03-03 23:53:14 +0100 |
commit | f8468d43e01c8110bdcb5956106c904b41d1ca09 (patch) | |
tree | 6c05ef2bea8080b2904278d7d3baaa053cd7e55d /src/cpu/x86/16bit/entry16.inc | |
parent | 0fd068b3c3b80274fa2db9eaf27a85ceb9dd47e7 (diff) |
cpu/x86/16bit: rename _start -> _start16bit
In order to avoid collisions with other _start symbols while
grepping and future ones be explicit about which _start this
one is: the 16-bit one only used by the reset vector in the
bootblock.
Change-Id: I6d7580596c0e6602a87fb158633ce9d45910cec2
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13880
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/x86/16bit/entry16.inc')
-rw-r--r-- | src/cpu/x86/16bit/entry16.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/x86/16bit/entry16.inc b/src/cpu/x86/16bit/entry16.inc index abaf6718ea..be5b73019e 100644 --- a/src/cpu/x86/16bit/entry16.inc +++ b/src/cpu/x86/16bit/entry16.inc @@ -29,10 +29,10 @@ #include <arch/rom_segs.h> .code16 -.globl _start -.type _start, @function +.globl _start16bit +.type _start16bit, @function -_start: +_start16bit: cli /* Save the BIST result */ movl %eax, %ebp @@ -80,12 +80,12 @@ _start: * The criteria for relocation have been relaxed to their * utmost, so that we can use the same code for both * our initial entry point and startup of the second cpu. - * The code assumes when executing at _start that: - * (((cs & 0xfff) == 0) and (ip == _start & 0xffff)) + * The code assumes when executing at _start16bit that: + * (((cs & 0xfff) == 0) and (ip == _start16bit & 0xffff)) * or * ((cs == anything) and (ip == 0)). * - * The restrictions in reset16.inc mean that _start initially + * The restrictions in reset16.inc mean that _start16bit initially * must be loaded at or above 0xffff0000 or below 0x100000. * * The linker scripts computes gdtptr16_offset by simply returning @@ -136,6 +136,6 @@ nullidt: .long 0 .word 0 -.globl _estart -_estart: +.globl _estart16bit +_estart16bit: .code32 |