Changeset 44601 in vbox for trunk/src/VBox/Devices/EFI/Firmware2
- Timestamp:
- Feb 8, 2013 12:27:08 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83682
- Location:
- trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/DevEFI.h
r44591 r44601 112 112 #define EFI_VARIABLE_OP_QUERY 0xdead0001 113 113 #define EFI_VARIABLE_OP_QUERY_NEXT 0xdead0002 114 #define EFI_VARIABLE_OP_QUERY_REWIND 0xdead0003 114 115 #define EFI_VARIABLE_OP_ADD 0xdead0010 115 116 -
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVariable/InitVariable.c
r44593 r44601 235 235 * Tell DevEFI which the current variable is, then ask for the next one. 236 236 */ 237 VBoxWriteNVRAMGuidParam(VendorGuid); 238 VBoxWriteNVRAMNameParam(VariableName); 239 240 u32Rc = VBoxWriteNVRAMDoOp(EFI_VARIABLE_OP_QUERY); 237 if (!VariableName[0]) 238 u32Rc = VBoxWriteNVRAMDoOp(EFI_VARIABLE_OP_QUERY_REWIND); 239 else 240 { 241 VBoxWriteNVRAMGuidParam(VendorGuid); 242 VBoxWriteNVRAMNameParam(VariableName); 243 u32Rc = VBoxWriteNVRAMDoOp(EFI_VARIABLE_OP_QUERY); 244 } 241 245 //if (u32Rc == EFI_VARIABLE_OP_STATUS_OK) - debug 242 246 u32Rc = VBoxWriteNVRAMDoOp(EFI_VARIABLE_OP_QUERY_NEXT);
Note:
See TracChangeset
for help on using the changeset viewer.