- Joined
- Mar 29, 2011
- Messages
- 844
- Motherboard
- ASRock X99 Extreme6
- CPU
- E5-2690 v4
- Graphics
- Radeon VII
Interesting... I wonder how universal that is...
At a minimum, verification of the module/offset should be done with IFR extractor.
Okay, I just did that, and I found a module that contained an IFR for the "Configuration Settings" formset, with 'OilSetup' as the first var store, and the following entry:
Code:
0x4A08 Suppress If: {0A 82}
0x4A0A 64 Bit Unsigned Int: 0x1 {45 0A 01 00 00 00 00 00 00 00}
0x4A14 Setting: Hidden Page, Variable: 0x4 {05 A6 16 00 17 00 11 00 01 00 04 00 00 10 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x4A3A Option: Disabled, Value: 0x0 {09 1C 1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x4A56 Option: Enabled, Value: 0x1 (default) {09 1C 1D 00 10 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x4A72 End of Options {29 02}
0x4A74 End If {29 02}
which matches up, once I realized that relative to these "Variable:" addresses, the efivars files in Linux have a 4-byte header at the start, so that should be added to the offset values when working with a hex editor in Linux (though not for using EFI shell). Anyway, it looks like this "Hidden Page" setting is what you would look for in other, similar BIOSes.
edit: also, if using EFI shell, if I'm not mistaken you would have to use the alternate setup_var2 command and specify the variable name, since it's outside the main 'Setup' variable. I could be wrong about that possibility though - EFI shell method just doesn't work for me.