Hacker News new | past | comments | ask | show | jobs | submit login

And then there’s another OS: UEFI.

Something I recently joked about doing was porting SDL to the UEFI environment and then building DOSBOX for it. I’m sure someone has already done this in some fashion, but the idea was amusing enough for me to genuinely consider it one of these weekends. I guess in that case, though, you can’t really run FreeDOS.




Also, don't forget the Minix running inside a small embedded processor inside your processor or platform controller.


I occasionally wonder what an operating system running below ring 0 would be used for. I haven't thought of anything compelling, apart from being a backdoor.


The SIM card in your mobile telephone is doing that right now.

You are correct - it is basically used as a back door.


Usually when I hear people talk about backdooring it's usually on the network stack. On a phone that would be a modem.

Most devices, even in your computer (eg: laptop battery) run an OS. There's a good talk somewhere on how we've lost our way with OS design and now need to write an OS that looks at a single machine as a distributed system.


Is it this one?

https://www.youtube.com/watch?v=36myc8wQhLo

USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware

Edit or this one (not a talk but a paper)?

https://www.usenix.org/system/files/osdi18-shan.pdf

LegoOS: A Disseminated, Distributed OS for Hardware Resource Disaggregation ... We propose a new OS model called the splitkernel to manage disaggregated systems. Splitkernel disseminates traditional OS functionalities into loosely-coupled mon- itors, each of which runs on and manages a hardware component


Similar enough! The one that I'm thinking of was the only actual non Linux talk (and really, OS development talk) at a OS Dev conference.


Some batteries have an entire stm32 series microcontroller in them, I've seen battery controllers that are actually the same "CPU" as on a discrete single motor quadcopter ESC.


Apple's laptop batteries in 2008 MacBook models have an independent microcontroller in them, which enables apple to manage it at a much more advanced level.

That generation of laptops can detect a problem with the battery much earlier (e.g. It can warn the user a year before the battery starts to swell. Been there, seen that). This knowledge is the basis of apple's battery technology that we see on their mobiles (iOS and macOS) today.

IIRC the password on these things were set to a default one and a PoC exploit was written for that platform.


IBM PC keyboard from 1981 (and all later external PC & Mac keyboards) have an independent microcontroller.

https://en.wikipedia.org/wiki/Intel_MCS-48#Uses


MicroSD cards have a fully functional 32-bit microcontroller in them, it manages the write leveling and bad sector mitigation, but it's a fully fledged CPU otherwise.



> and now need to write an OS that looks at a single machine as a distributed system

Exactly, currently they are too easily exploitable because they are not joined up.

You see it with gpu's being hacked and the OS not recognising this.


And the radio baseband firmware, what the hell is going on in there is likely known only to Qualcomm and the nsa.


Even when sending encrypted texts with Signal, I can't help but wonder if the keyboard software is sending everything to a government entity. Or, if a piece of hardware can silently grab screenshots.


Supposedly, it’s for low level system management functions. As in, stuff that could be done in hardware, but doing it in software is easier. Kindof like System Management Mode (SMM), but even lower.


ring -1 is canonically the hypervisor, so you could probably count hyper-v or xen or esxi as operating systems


I am sure they will soon find a way to add a hypervisor to Minix so they can add yet another layer to the mix.


That'd be fun. Intel would be providing services to customers for running their own spy platform on any supported Intel processor.

Not unlike "Other OS" on PS3. Same theory, different application.


It's Minixes all the way down, man.


Possibly relevant: an NES emulator for UEFI: https://www.youtube.com/watch?v=-Juc1LT7Xls




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: