I am working on a kext that needs to read from NVRAM during early boot. My code uses <IOKit/IONVRAM.h>, which makes no mention of deprecation, but the corresponding library code seems to be in com.apple.kpi.unsupported, which sounds suspiciously like it may be on its way out.
While searching through available documentation, I was unable to find any other kernel space API for NVRAM access. Is there some other API or documentation that pertains to NVRAM access from kernel space?