Bypass emulated NVRAM (both in x86 and ARM machines)

Hey, I'd like to add MacOS support to https://github.com/iTrooz/efiboot-rs , whose purpose is to be able to read/write/manage EFI variables in general

I understand supporting actual Macs is a mess, if even possible, so for now I'm focusing on Macintosh machines.

I'd like a way to bypass the emulated NVRAM of OpenCore, and access the host native NVRAM from MacOS? (the NVRAM with variables like `BootOrder` or `BootXXXX`, in the namespace `8be4df61-93ca-11d2-aa0d-00e098032b8c`)

Do you know any way to do that, any links, or have any suggestions ?

Thanks !

Note: I will use a friend's computer to test it, I have never used a hackintosh myself and have little experience with it. That said, I have done my research before posting here

submitted by /u/iTrooz_
[link] [comments]