Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Minor fix
[palacios.git] / bios / seabios / vgasrc / vgaentry.S
1 // Rom layout and bios assembler to C interface.
2 //
3 // Copyright (C) 2009  Kevin O'Connor <kevin@koconnor.net>
4 //
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
6
7
8 /****************************************************************
9  * Include of 16bit C code
10  ****************************************************************/
11
12         .code16gcc
13 #include "vgaccode.16.s"
14
15 #include "entryfuncs.S" // ENTRY_*
16
17
18 /****************************************************************
19  * Rom Header
20  ****************************************************************/
21
22         .section .rom.header
23         .global _rom_header, _rom_header_size, _rom_header_checksum
24 _rom_header:
25         .word 0xaa55
26 _rom_header_size:
27         .byte 0
28 _rom_header_entry:
29         jmp _optionrom_entry
30 _rom_header_checksum:
31         .byte 0
32 _rom_header_other:
33         .space 21
34
35
36 /****************************************************************
37  * Entry points
38  ****************************************************************/
39
40         DECLFUNC _optionrom_entry
41 _optionrom_entry:
42         ENTRY_ARG vga_post
43         lretw
44
45         DECLFUNC entry_10
46 entry_10:
47         ENTRY_ARG handle_10
48         iretw