freebsd-dev/sys/boot/forth
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
..
beastie.4th Disable the beastie menu for EFI console which doesn't support ANSI codes 2014-04-27 22:18:33 +00:00
beastie.4th.8 Disable the beastie menu for EFI console which doesn't support ANSI codes 2014-04-27 22:18:33 +00:00
brand.4th Allow customization of the brand displayed in the boot menu. 2014-06-01 04:08:45 +00:00
brand.4th.8 Fix domain. 2012-07-14 01:45:35 +00:00
check-password.4th Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
check-password.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
color.4th Since the introduction of SVN r244048 and [follow-up] r244089, it is now 2013-08-08 22:09:46 +00:00
color.4th.8 Since the introduction of SVN r244048 and [follow-up] r244089, it is now 2013-08-08 22:09:46 +00:00
delay.4th Fix domain. 2012-07-14 01:45:35 +00:00
delay.4th.8 Fix domain. 2012-07-14 01:45:35 +00:00
frames.4th Use ASCII characters for box/line characters in frames.4th 2012-12-09 15:25:34 +00:00
loader.4th Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
loader.4th.8 Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
loader.conf add a hit that you can enable this by default if you want... necessary 2014-07-04 14:49:40 +00:00
loader.conf.5 Disable the beastie menu for EFI console which doesn't support ANSI codes 2014-04-27 22:18:33 +00:00
loader.rc Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
menu-commands.4th Defer loading of kernel and modules if the beastie menu is enabled. Add a 2013-11-04 20:28:10 +00:00
menu.4th Defer loading of kernel and modules if the beastie menu is enabled. Add a 2013-11-04 20:28:10 +00:00
menu.4th.8 Update legacy static assignments in old code to support dynamic framing, 2013-08-08 22:34:00 +00:00
menu.rc Add a try-include word (which acts the same as "include") and use it to 2013-11-17 18:12:17 +00:00
menusets.4th Defer loading of kernel and modules if the beastie menu is enabled. Add a 2013-11-04 20:28:10 +00:00
menusets.4th.8 Add ontop of my existing boot loader Forth code, including support for 2012-11-06 19:26:36 +00:00
pcibios.4th Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
pnp.4th This patch introduces a number of simplifications to the Forth 2009-01-05 20:09:54 +00:00
screen.4th
shortcuts.4th Fix domain. 2012-07-14 01:45:35 +00:00
support.4th Add support for comma-separated values (whitespace-separated still supported). 2012-12-10 15:29:56 +00:00
version.4th Update copyright. 2013-08-27 06:09:28 +00:00
version.4th.8 Building upon SVN r254237, disable automated activation of alternate layouts 2013-08-26 23:37:11 +00:00