Maybe you mean Open Firmware:
https://en.wikipedia.org/wiki/Open_Firmware> “It originated at Sun Microsystems, where it was known as OpenBoot, and has been used by vendors including Sun, Apple, IBM and ARM.”
> “Open Firmware allows the system to load platform-independent drivers directly from a PCI device, improving compatibility.”
> “Open Firmware may be accessed through its command line interface, which uses the Forth programming language.”
As I had written a few Forth programs on the Commodore 64, when I got an aluminium PowerBook G4 years ago (2003) I tried it out, and yes, it was Forth.
More recently, I used it for real when setting up a Sun Blade 150.
Here is a quick reference page listing the commands available: http://firmworks.com/QuickRef.html