Invalidate cache before first jump
[coreboot.git] / src / cpu / x86 / 16bit / reset16.inc
1         .section ".reset"
2         .code16
3 .globl  reset_vector
4 reset_vector:
5         wbinvd
6         .byte  0xe9
7         .int   _start - ( . + 2 )
8         /* Note: The above jump is hand coded to work around bugs in binutils.
9          * 5 byte are used for a 3 byte instruction.  This works because x86
10          * is little endian and allows us to use supported 32bit relocations
11          * instead of the weird 16 bit relocations that binutils does not
12          * handle consistenly between versions because they are used so rarely.
13          */
14         . = 0x8;
15         .code32
16         jmp     protected_start
17         .previous