HP Unified Extensible Firmware Interface User Manual
Page 71
Advertising
Print (L"ENVIRONMENT VARIABLES:\n");
Print (L"\n");
//
// Sample to get and display all environment variables
//
while (*ConstEnvNameList != CHAR_NULL){
Value = UefiShellProtocol->GetEnv (ConstEnvNameList);
Print (L"%8s = %s\n", ConstEnvNameList, Value);
ConstEnvNameList += StrLen (ConstEnvNameList)+1;
}
}
return EFI_SUCCESS;
}
Sample Shell scripts
71
Advertising
This manual is related to the following products: