+ rdValue = kalloc(kMaxBootVar);
+ if ( PE_parse_boot_arg("rd", rdValue) ) {
+ if (*rdValue == '*') {
+ gRootpathProp.address = (rdValue + 1);
+ } else {
+ gRootpathProp.address = rdValue;
+ }
+ strcat(rdValue, ",");
+ } else {
+ gRootpathProp.address = rdValue;
+ rdValue[0] = '\0';
+ }
+ strcat(rdValue, kap->bootFile);
+ gRootpathProp.length = strlen(rdValue) + 1;
+
+ platformValue = kalloc(kMaxBootVar);
+ if ( ! PE_parse_boot_arg("platform", platformValue) ) {
+ strcpy(platformValue, kDefaultPlatformName);
+ }
+ gCompatibleProp.address = platformValue;
+ gCompatibleProp.length = strlen(platformValue) + 1;
+