1. Variable Service是由谁提供的?
Variable Service 是由Runtime Service Table所提供。
2. Variable的功能?
在UEFI架构下,Variable取代了Legacy下的CMOS的功能,用来存放UUID、Setup等的数据。
3. Variable都被储存在哪里?
储存在NVRAM(flash part)或是Memory里,可在Variable的Attribute里设定。
若在Attribute里设定存放到NV里,则flash part 和Memory里各储存一份;否则只储存在Memory中。
4. Variable的Attribute有哪几种?
有NV,Boot service, Runtime service三种。
有效的Attribute组合:
1、BS
2、BS + NV
3、BS + RT
4、BS + RT + NV
注:要把Attribute设成RuntimeAccess时,就必须同时存在于BootService才是合法的。
5. Variable Service有哪几种?
GetVariable
GetNextVariableName
SetVariable
QueryVariableInfo