5 ms·
Once you switch modes, you better stick to Runtime Services, so networking etc is out. But yes, for the beginning all that might not matter too much and you ca
by pgeorgi 12y ago
Once you switch modes, you better stick to Runtime Services, so networking etc is out.
But yes, for the beginning all that might not matter too much and you can get by running your "OS" as BDS application and incrementally migrate away from that.
- JoshTriplett 12y agoOnce you switch modes, you shouldn't touch EFI at all, and if you do, you'll have to switch back to do so.
- pgeorgi 12y agoEven switching back and forth at the right times seems somewhat risky to me before ExitBootServices(), while Runtime Services are restricted to a subset that's much more resilient to external state changes (and doesn't run background stuff). NetBSD rump kernels may provide a better base for OS experiments where you can use working code until you have replacements ready - based on a real OS, not some API that accidentally became one.