x86: bios: Synchronize stack between real and protected mode
[oweals/u-boot.git] / arch / x86 / cpu / resetvec.S
1 /*
2  *  U-boot - x86 Startup Code
3  *
4  * (C) Copyright 2002
5  * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 /* Reset vector, jumps to start16.S */
11
12 .extern start16
13
14 .section .resetvec, "ax"
15 .code16
16 reset_vector:
17         cli
18         cld
19         jmp start16
20
21         .org 0xf
22         nop