freebsd-skq/sys/boot/i386
Warner Losh dd56e3b6bc Add support for calling pcibios routines from the
bootloader. Implement the following routines:
	pcibios-device-count	count the number of instances of a devid
	pcibios-read-config	read pci config space
	pcibios-write-config	write pci config space
	pcibios-find-devclass	find the nth device with a given devclass
	pcibios-find-device	find the nth device with a given devid
	pcibios-locator		convert bus device function ti pcibios locator
These commands are thin wrappers over their PCI BIOS 2.1 counterparts. More
informaiton, such as it is, can be found in the standard.

Export a nunmber of pcibios.X variables into the environment to report
what the PCI IDENTIFY command returned.

Also implmenet a new command line primitive (pci-device-count), but don't
include it by default just yet, since it depends on the recently added
words and any errors here can render a system unbootable.

This is intended to allow the boot loader to do special things based
on the hardware it finds. This could be have special settings that are
optimized for the specific cards, or even loading special drivers. It
goes without saying that writing to pci config space should not be
done without a just cause and a sound mind.

Sponsored by:	Netflix
2014-09-10 21:07:00 +00:00
..
boot0 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
boot0ext
boot0sio
boot2 Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
btx Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdboot NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
common boot: use packed attribute for edd_params* structures and their substructures 2012-11-14 11:05:16 +00:00
efi Support UEFI booting on amd64 via loader.efi 2014-04-04 00:16:46 +00:00
gptboot mdoc: fix AUTHORS section. 2014-06-09 19:36:08 +00:00
gptzfsboot Build a 32-bit libstand under sys/boot/ 2014-02-06 21:54:21 +00:00
kgzldr NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libfirewire Re-indent break statement. 2014-04-14 22:49:37 +00:00
libi386 Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
loader Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
mbr NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
pmbr NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
pxeldr Similar to r130943 for cdboot.S, update the license on this file to a 2014-02-05 17:22:54 +00:00
zfsboot Build a 32-bit libstand under sys/boot/ 2014-02-06 21:54:21 +00:00
zfsloader NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc For sys/boot/i386 and sys/boot/pc98, separate flags to be passed 2013-12-30 19:05:50 +00:00