Running Mezzano in bhyve
- Reply: Peter Grehan : "Re: Running Mezzano in bhyve"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Oct 2024 06:25:52 UTC
Hi! Mezzano is an operating system written in Common lisp. I would like to test it in bhyve. When I launch it, it spins infinitely in a loop measuring how many CPU cycles it makes in a unit of time (I understood it by adding various debug messages). The timer it uses is something called a PIT: https://wiki.osdev.org/Programmable_Interval_Timer The problem is, once the timer is configured it fires an interrupt only once, while it obviously must fire interrupts constantly at some frequency (100 Hz, as I understand from the code). Is the PIT supported by bhyve? Does FreeBSD use it anywhere in its kernel? BTW, Mezzano boots up fine on bare metal and in qemu, so the project is in a working state, despite being abandoned.