mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +00:00
updating output
This commit is contained in:
parent
341b8b4779
commit
9e61b6e4d9
@ -234,7 +234,8 @@ public class UefiDevicePath {
|
|||||||
* @return pci device info.
|
* @return pci device info.
|
||||||
*/
|
*/
|
||||||
private String pciSubType(final byte[] path, final int offset) {
|
private String pciSubType(final byte[] path, final int offset) {
|
||||||
subType = "\n PCI Function Number = ";
|
subType = "\n Hardware Device Path Type = PCI";
|
||||||
|
subType += "\n PCI Function Number = ";
|
||||||
subType += String.format("0x%x", path[offset + UefiConstants.SIZE_4]);
|
subType += String.format("0x%x", path[offset + UefiConstants.SIZE_4]);
|
||||||
subType += "\n PCI Device Number = ";
|
subType += "\n PCI Device Number = ";
|
||||||
subType += String.format("0x%x", path[offset + UefiConstants.SIZE_5]);
|
subType += String.format("0x%x", path[offset + UefiConstants.SIZE_5]);
|
||||||
@ -242,7 +243,7 @@ public class UefiDevicePath {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* processes the SATA sub type.
|
* processes the SATA subtype.
|
||||||
*
|
*
|
||||||
* @param path
|
* @param path
|
||||||
* @param offset
|
* @param offset
|
||||||
@ -261,7 +262,7 @@ public class UefiDevicePath {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processes the hard drive sub type.
|
* Processes the hard drive subtype.
|
||||||
*
|
*
|
||||||
* @param path
|
* @param path
|
||||||
* @param offset
|
* @param offset
|
||||||
@ -306,7 +307,7 @@ public class UefiDevicePath {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process the File path sub type.
|
* Process the File path subtype.
|
||||||
*
|
*
|
||||||
* @param path
|
* @param path
|
||||||
* @param offset
|
* @param offset
|
||||||
@ -326,7 +327,7 @@ public class UefiDevicePath {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process a vendor sub-type on a Media Type.
|
* Process a vendor subtype on a Media Type.
|
||||||
* Length of this structure in bytes. Length is 20 + n bytes
|
* Length of this structure in bytes. Length is 20 + n bytes
|
||||||
* Vendor-assigned GUID that defines the data that follows.
|
* Vendor-assigned GUID that defines the data that follows.
|
||||||
* Vendor-defined variable size data.
|
* Vendor-defined variable size data.
|
||||||
@ -352,7 +353,7 @@ public class UefiDevicePath {
|
|||||||
+ offset, vendorData, 0, subTypeLength - UefiConstants.SIZE_16);
|
+ offset, vendorData, 0, subTypeLength - UefiConstants.SIZE_16);
|
||||||
subType += " : Vendor Data = " + HexUtils.byteArrayToHexString(vendorData);
|
subType += " : Vendor Data = " + HexUtils.byteArrayToHexString(vendorData);
|
||||||
} else {
|
} else {
|
||||||
subType += " : No Vendor Data pesent";
|
subType += " : No Vendor Data present";
|
||||||
}
|
}
|
||||||
return subType;
|
return subType;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user