freebsd-skq/usr.sbin/bhyve
grehan a913fe5916 Add 16550 uart emulation as a PCI device. This allows it to
be activated as part of the slot config options.
  The syntax is:

     -s <slotnum>,uart[,stdio]

  The stdio parameter instructs the code to perform i/o using
stdin/stdout. It can only be used for one instance.
  To allow legacy i/o ports/irqs to be used, a new variant of
the slot command, -S, is introduced. When used to specify a
slot, the device will use legacy resources if it supports
them; otherwise it will be treated the same as the '-s' option.
  Specifying the -S option with the uart will first use the 0x3f8/irq 4
config, and the second -S will use 0x2F8/irq 3.

  Interrupt delivery is awaiting the arrival of the i/o apic code,
but this works fine in uart(4)'s polled mode.

  This code was written by Cynthia Lu @ MIT while an intern at NetApp,
with further work from neel@ and grehan@.

Obtained from:	NetApp
2012-05-03 03:11:27 +00:00
..
atpic.c
consport.c
dbgport.c
dbgport.h
elcr.c
fbsdrun.c Add 16550 uart emulation as a PCI device. This allows it to 2012-05-03 03:11:27 +00:00
fbsdrun.h
inout.c
inout.h
instruction_emul.c MSI-x interrupt support for PCI pass-thru devices. 2012-04-28 16:28:00 +00:00
instruction_emul.h MSI-x interrupt support for PCI pass-thru devices. 2012-04-28 16:28:00 +00:00
Makefile Add 16550 uart emulation as a PCI device. This allows it to 2012-05-03 03:11:27 +00:00
mevent_test.c
mevent.c
mevent.h
pci_emul.c Add 16550 uart emulation as a PCI device. This allows it to 2012-05-03 03:11:27 +00:00
pci_emul.h Add 16550 uart emulation as a PCI device. This allows it to 2012-05-03 03:11:27 +00:00
pci_hostbridge.c
pci_passthru.c MSI-x interrupt support for PCI pass-thru devices. 2012-04-28 16:28:00 +00:00
pci_uart.c Add 16550 uart emulation as a PCI device. This allows it to 2012-05-03 03:11:27 +00:00
pci_virtio_block.c Allow access to the device's config area with any size i/o access at any 2011-06-07 18:35:45 +00:00
pci_virtio_net.c Allow access to the device's config area with any size i/o access at any 2011-06-07 18:35:45 +00:00
pit_8254.c Catch up with CURRENTs different timer usage compared to 8.1. A counter 2011-05-24 01:08:53 +00:00
pit_8254.h
post.c
rtc.c
uart.c
virtio.h
xmsr.c Ignore legacy INIT de-asserts in x2apic mode before verifying 2011-10-18 18:52:22 +00:00
xmsr.h