4 ms·
Hm I would like to see this in C rather than Rust. And I wonder if you can run the 1000 line OS in C along with the 1000 line hypervisor It would be nice to s
by chubot 1y ago
Hm I would like to see this in C rather than Rust. And I wonder if you can run the 1000 line OS in C along with the 1000 line hypervisor
It would be nice to see a demo!
- LiamPowell 1y agoHow do you define an OS? You can write an EFI "OS" that prints "Hello, world" in approximately 5 lines.
- spongebobism 1y agoIt's a bit more than that. > We'll implement basic context switching, paging, user mode, a command-line shell, a disk device driver, and file read/write operations in C. see https://1000os.seiya.me/en/ https://1000os.seiya.me/en/
- dark-star 1y agothat's not an OS, that's an EFI application
- courtcircuits 1y agoThis repo seems to handle VM exits and memory initialization : https://github.com/soulxu/kvmsample/blob/master/main.c https://github.com/soulxu/kvmsample/blob/master/main.c I'd say it's a good place to start !