freebsd-dev/sys/boot/ficl
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
..
amd64 Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
arm Fix two broken macros. 2013-04-07 05:40:49 +00:00
i386 Fix clang warnings. 2012-02-05 20:00:39 +00:00
mips
mips64 Give mips64 its own ficl configuration that sizes pointers/etc suitably for 2014-02-23 22:10:25 +00:00
powerpc
softwords
sparc64
dict.c
ficl.c
ficl.h
fileaccess.c Fix clang warnings. 2012-02-05 20:00:39 +00:00
float.c
loader.c Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
Makefile Fix the mips64el build: mips64el should use the mips64 directory, not the mips64el directory. 2014-04-06 19:51:57 +00:00
math64.c
math64.h
prefix.c
search.c
stack.c
testmain.c
tools.c Fix printf args for 64-bit archs 2014-04-08 18:02:32 +00:00
unix.c
vm.c
words.c Correct a variable's type for 64-bit Ficl 2014-04-08 17:50:27 +00:00