Page MenuHomeFreeBSD

bhyve: Conditionally compile framebuffer-related code
ClosedPublic

Authored by markj on Jun 23 2023, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 28, 1:22 AM
Unknown Object (File)
Wed, Aug 28, 1:22 AM
Unknown Object (File)
Fri, Aug 23, 1:56 AM
Unknown Object (File)
Mon, Aug 12, 1:06 AM
Unknown Object (File)
Mon, Aug 12, 12:54 AM
Unknown Object (File)
Jul 13 2024, 3:47 AM
Unknown Object (File)
Jul 10 2024, 3:14 PM
Unknown Object (File)
Jul 8 2024, 1:08 AM
Subscribers

Details

Summary

The arm64 port does not implement VGA, so move the device model sources.
Compile framebuffer code only on amd64 for now, but do not move the
sources, as we ought to be able to add support later.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Is VGA supported on arm64 or not? While reading the commit message it sounds like missing VGA support is only a limitation of our arm64 port. If it's just a limitation or our port, we shouldn't move those files.

This revision is now accepted and ready to land.Jun 26 2023, 6:31 AM

I kind of doubt there's real VGA on arm64, just different frame buffer drivers that probably don't provide a legacy VGA interface.

Is VGA supported on arm64 or not? While reading the commit message it sounds like missing VGA support is only a limitation of our arm64 port. If it's just a limitation or our port, we shouldn't move those files.

Indeed, I wasn't able to turn up any notion of a native VGA driver on arm64. The software interface uses I/O ports so can't be directly implemented on arm64. I'll reword the commit log message to make this more clear, but I'm fairly sure we can safely move this file to amd64/.