summaryrefslogtreecommitdiff
path: root/src/cpu/x86/16bit/reset16.inc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-03-02 14:47:37 -0600
committerAaron Durbin <adurbin@chromium.org>2016-03-03 23:53:14 +0100
commitf8468d43e01c8110bdcb5956106c904b41d1ca09 (patch)
tree6c05ef2bea8080b2904278d7d3baaa053cd7e55d /src/cpu/x86/16bit/reset16.inc
parent0fd068b3c3b80274fa2db9eaf27a85ceb9dd47e7 (diff)
downloadcoreboot-f8468d43e01c8110bdcb5956106c904b41d1ca09.tar.xz
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/reset16.inc')
-rw-r--r--src/cpu/x86/16bit/reset16.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/16bit/reset16.inc b/src/cpu/x86/16bit/reset16.inc
index ebc3d4cee2..d99f0b1e0c 100644
--- a/src/cpu/x86/16bit/reset16.inc
+++ b/src/cpu/x86/16bit/reset16.inc
@@ -3,7 +3,7 @@
.globl reset_vector
reset_vector:
.byte 0xe9
- .int _start - ( . + 2 )
+ .int _start16bit - ( . + 2 )
/* Note: The above jump is hand coded to work around bugs in binutils.
* 5 byte are used for a 3 byte instruction. This works because x86
* is little endian and allows us to use supported 32bit relocations