~ubuntu-branches/ubuntu/trusty/seabios/trusty

« back to all changes in this revision

Viewing changes to vgasrc/vgaentry.S

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2012-04-17 14:22:01 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120417142201-txx8sj6ne70gt3iz
Tags: 1.7.0-1
* new upstream release (1.7.0), featuring vgabios.
* drop 1.6.3.1 patch
* do not require root in clean target
* split build procedure into several targets, move bios.bin
  out of out/ directory (preparing for the next change), and
  change clean target accordingly
* build and ship vgabios-{cirrus,stdvga,vmware,qxl,isavga}.bin
* patches/fix-==-in-shell.patch -- fix build error with dash
* move all optionrom files taken from qemu into debian/optionrom,
  instead of having them as patches in debian/patches.  While at
  it, update optionroms from current qemu (1.1) and add
  vapic.bin => kvmvapic.bin compatibility symlink.
* add myself to uploaders
* bump Standards-Version to 3.9.3 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Rom layout and bios assembler to C interface.
2
2
//
3
 
// Copyright (C) 2009  Kevin O'Connor <kevin@koconnor.net>
 
3
// Copyright (C) 2009-2012  Kevin O'Connor <kevin@koconnor.net>
4
4
//
5
5
// This file may be distributed under the terms of the GNU LGPLv3 license.
6
6
 
7
7
 
8
 
/****************************************************************
9
 
 * Include of 16bit C code
10
 
 ****************************************************************/
11
 
 
12
 
        .code16gcc
13
 
#include "vgaccode.16.s"
14
 
 
 
8
#include "config.h" // CONFIG_*
15
9
#include "entryfuncs.S" // ENTRY_*
16
10
 
17
11
 
20
14
 ****************************************************************/
21
15
 
22
16
        .section .rom.header
 
17
        .code16gcc
23
18
        .global _rom_header, _rom_header_size, _rom_header_checksum
24
19
_rom_header:
25
20
        .word 0xaa55
30
25
_rom_header_checksum:
31
26
        .byte 0
32
27
_rom_header_other:
33
 
        .space 21
 
28
        .space 17
 
29
_rom_header_pcidata:
 
30
#if CONFIG_VGA_PCI == 1
 
31
        .word rom_pci_data
 
32
#else
 
33
        .word 0
 
34
#endif
 
35
_rom_header_pnpdata:
 
36
        .word 0
 
37
_rom_header_other2:
 
38
        .word 0
 
39
_rom_header_signature:
 
40
        .asciz "IBM"
34
41
 
35
42
 
36
43
/****************************************************************
37
44
 * Entry points
38
45
 ****************************************************************/
39
46
 
 
47
        DECLFUNC entry_104f05
 
48
entry_104f05:
 
49
        ENTRY_ARG vbe_104f05
 
50
        lretw
 
51
 
40
52
        DECLFUNC _optionrom_entry
41
53
_optionrom_entry:
42
54
        ENTRY_ARG vga_post