]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Changes required for OpenBSD/amd64:
authorPeter Grehan <grehan@FreeBSD.org>
Thu, 17 Oct 2013 22:01:17 +0000 (22:01 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Thu, 17 Oct 2013 22:01:17 +0000 (22:01 +0000)
commit062b878f589680b83443010baba98311b19f2746
tree5814da3278f648180fa66dd00dee615c9cf1a4c4
parent2b142c0f12a6cb6f2f86212bb9bcb4afadcce115
Changes required for OpenBSD/amd64:

- Allow a hostbridge to be created with AMD as a vendor.
  This passes the OpenBSD check to allow the use of MSI
  on a PCI bus.
- Enable the i/o interrupt section of the mptable, and
  populate it with unity ISA mappings. This allows the
  'legacy' IRQ mappings of the PCI serial port to be
  set up. Delete unused print routine that was obscuring code.
- Use the '-W' option to enable virtio single-vector MSI
  rather than an environment variable. Update the virtio
  net/block drivers to query this flag when setting up
  interrupts.: bhyverun.c
- Fix the arithmetic used to derive the century byte in
  RTC CMOS, as well as encoding it in BCD.

Reviewed by: neel
MFC after: 3 days
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/bhyverun.h
usr.sbin/bhyve/mptbl.c
usr.sbin/bhyve/pci_hostbridge.c
usr.sbin/bhyve/pci_virtio_block.c
usr.sbin/bhyve/pci_virtio_net.c
usr.sbin/bhyve/rtc.c