]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm
Add initial version of Open Virtual Machine Firmware (OVMF) platform.
[mirror_edk2.git] / OvmfPkg / ResetVector / Ia16 / ResetVectorVtf0.asm
1 ;------------------------------------------------------------------------------
2 ;
3 ; Copyright (c) 2008, Intel Corporation
4 ; All rights reserved. This program and the accompanying materials
5 ; are licensed and made available under the terms and conditions of the BSD License
6 ; which accompanies this distribution. The full text of the license may be found at
7 ; http://opensource.org/licenses/bsd-license.php
8 ;
9 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 ;
12 ; Module Name:
13 ;
14 ; Reset-16Bit-vft0.asm
15 ;
16 ; Abstract:
17 ;
18 ; First code exectuted by processor after resetting.
19 ;
20 ;------------------------------------------------------------------------------
21
22 BITS 16
23
24 earlyInit_Real16:
25
26 jmp real16InitSerialPort
27 real16SerialPortInitReturn:
28
29 jmp to32BitFlat
30
31 ALIGN 16
32
33 DD 0, 0, 0
34
35 ;
36 ; The VTF signature
37 ;
38 ; VTF-0 means that the VTF (Volume Top File) code does not require
39 ; any fixups.
40 ;
41 vtfSignature:
42 DB 'V', 'T', 'F', 0
43
44 ;
45 ; Reset Vector
46 ;
47 ; This is where the processor will begin execution
48 ;
49 jmp short earlyInit_Real16
50
51 ALIGN 16
52
53 fourGigabytes:
54