u/A3Phosphate

▲ 19 r/osdev

JVM derived UEFI plugins

Hello everyone!

This isn't an operating system yet, due to my project constraints, but I'd just like to introduce something I made.

With the finalization of the ClassFile API in JDK 24, we can do some very cool things with JVM CLASS files, such as recompiling it to work as a UEFI bytecode program (with a way to write PE32 files, of course.)

I'm eventually hoping to write a JVM-to-native transpiler within the EFI code to jump into so I can have an operating system fully constructed within a JVM (and maybe running in one, too), but I expect that will take some time. You can't exit boot services with just EBC, unfortunately.

The current EFI program will list the count of entries in the memory map. EFI shell displays return codes in hexadecimal, so there are 36.

https://reddit.com/link/1snfdbk/video/6zd10r5i3mvg1/player

EBC backend, PE construction

EFI Source, EFI PE writing

reddit.com
u/A3Phosphate — 4 days ago