5 ms·
Yes, here we go again: https://news.ycombinator.com/item?id=18532102 https://news.ycombinator.com/item?id=18532102 :-) I wonder how much lower level you can go
by cirosantilli 8y ago
Yes, here we go again: https://news.ycombinator.com/item?id=18532102 https://news.ycombinator.com/item?id=18532102 :-)
I wonder how much lower level you can go with QEMU / how much it can match real hardware.
Pull requests / links welcome ;-)
- deleted 8y ago[deleted]
- pm215 8y agoQEMU runs the 'seabios' bios image in the guest, so you could certainly run a 'bare metal' custom image instead of the default BIOS blob if you wanted. At the basic level of "prod the UART, prod the timers" we should be a reasonable match to real hardware. Running on real hardware without the BIOS would be trickier as you start to need to do things like set up memory controllers, which you can get away without on QEMU.
- self_awareness 8y agoOkay I've sent you a pull request with a bare metal hello world example ;)