projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a PCI header to the VGA ROM if needed
[seabios.git]
/
vgasrc
/
vgaentry.S
diff --git
a/vgasrc/vgaentry.S
b/vgasrc/vgaentry.S
index fbfa9f7b16baa40d254559019016586da680e4e3..2dc07c1d811fa9297fb9f1e50cd5e378476d827b 100644
(file)
--- a/
vgasrc/vgaentry.S
+++ b/
vgasrc/vgaentry.S
@@
-12,6
+12,7
@@
.code16gcc
#include "vgaccode.16.s"
.code16gcc
#include "vgaccode.16.s"
+#include "config.h" // CONFIG_*
#include "entryfuncs.S" // ENTRY_*
#include "entryfuncs.S" // ENTRY_*
@@
-30,7
+31,15
@@
_rom_header_entry:
_rom_header_checksum:
.byte 0
_rom_header_other:
_rom_header_checksum:
.byte 0
_rom_header_other:
- .space 21
+ .space 17
+_rom_header_pcidata:
+#if CONFIG_VGA_PCI == 1
+ .word rom_pci_data
+#else
+ .word 0
+#endif
+_rom_header_pnpdata:
+ .word 0
/****************************************************************
/****************************************************************