[ofw] [PATCH 1/2] tools/ndinstall: update to support multiple ND providers
Sean Hefty
sean.hefty at intel.com
Thu Jul 2 16:30:48 PDT 2009
>+static const char * const provider_name[MAX_INDEX] = {
>+ "IBAL", "IBAL (debug)", "WinVerbs", "WinVerbs (debug)"
>
><snip>
>
>> -/*
>> - * Function: usage
>> - * Description: Prints usage information.
>> - */
>> static void
>> -usage (char *progname)
>> +show_usage (char *progname)
>> {
>
>...
>> + printf("\tprovider_name must be one of the following:\n");
>> + printf("\t\tibal\n");
>> + printf("\t\twinverbs\n");
>
>What about debug version? Can we use ibald and winverbsd, rather than "IBAL
>(debug)" and "WinVerbs (debug)"? Does it even work for the debug libraries due
>to the space?
The '-d' option installs/remove the debug version of the library. For example:
ndinstall -i ibal -d // install debug ibal
ndinstall -i ibal // install free ibal
ndinstall -r ibal -d // remove debug ibal
The provider_name string is only used for display purposes. For example:
Removing IBAL (debug) provider: successful
^^^^^^^^^^^^
Note that I kept the existing behavior with IBAL using the same GUID for debug
and free, so I don't know what actually happens in this case.
- Sean
More information about the ofw
mailing list